Skip to content

Commit

Permalink
fix(dockerfile): Unpin Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Feb 10, 2025
1 parent c5bdf3b commit 4feb420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# node:20.18-alpine
FROM --platform=${BUILDPLATFORM} node@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
FROM --platform=${BUILDPLATFORM} node:lts-alpine

ARG TARGETPLATFORM
ARG TARGETARCH
Expand All @@ -9,6 +8,7 @@ RUN printf "I'm building for TARGETPLATFORM=${TARGETPLATFORM}" \
&& printf ", TARGETVARIANT=${TARGETVARIANT} \n" \
&& printf "With uname -s : " && uname -s \
&& printf "and uname -m : " && uname -mm
RUN node -e "console.log('node arch: ' + os.arch())"

RUN apk add --no-cache dumb-init

Expand Down

0 comments on commit 4feb420

Please sign in to comment.