Skip to content

Commit

Permalink
Try to autorun Docker build with LTS Node
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Oct 30, 2023
1 parent 6e1bc9c commit bacd182
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
FROM node:18-alpine
FROM --platform=${BUILDPLATFORM} node:lts-alpine
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT
RUN printf "I'm building for TARGETPLATFORM=${TARGETPLATFORM}" \
&& printf ", TARGETARCH=${TARGETARCH}" \
&& printf ", TARGETVARIANT=${TARGETVARIANT} \n" \
&& printf "With uname -s : " && uname -s \
&& printf "and uname -m : " && uname -mm

RUN apk add --no-cache dumb-init

Expand Down

0 comments on commit bacd182

Please sign in to comment.