diff --git a/Dockerfile b/Dockerfile index b20c05d..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 -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