From b01185eceac31957d5ea2451a6124bda3a377f1a Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 13:50:19 +0200 Subject: [PATCH 1/2] balena 19.0.12 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b20c05d..ff5d80c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,6 @@ RUN apk add --no-cache --virtual .build-deps \ git \ linux-headers \ python3 && \ - npm install balena-cli -g --production --unsafe-perm && \ + npm install balena-cli@19.0.12 -g --production --unsafe-perm && \ apk del --no-cache .build-deps && \ rm -rf ~/.npm ~/.cache From ee38e31e00bd7357e645b4aca34c0e0d427a433d Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sun, 29 Sep 2024 22:50:08 +0200 Subject: [PATCH 2/2] . --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff5d80c..8e6f046 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.13-alpine3.11 +FROM node:20.17-alpine3.20 LABEL Description="The Balena CLI" @@ -9,7 +9,8 @@ RUN apk add --no-cache --virtual .build-deps \ make \ git \ linux-headers \ - python3 && \ - npm install balena-cli@19.0.12 -g --production --unsafe-perm && \ + python3 \ + libudev-zero-dev && \ + npm install balena-cli@19.0.12 -g --omit=dev --unsafe-perm && \ apk del --no-cache .build-deps && \ rm -rf ~/.npm ~/.cache