pass ARG to DEV image

This commit is contained in:
dev-docker 2021-05-19 15:36:46 +00:00
parent e427f472eb
commit 8d55a3741b
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ ARG DEVPLATFORM=${TARGETPLATFORM:-linux/amd64}
FROM --platform=$DEVPLATFORM node:15-alpine AS dev
# Install pre-requisites
ARG DEVPLATFORM
RUN echo DEVPLATFORM: $DEVPLATFORM \
&& case $DEVPLATFORM in \
*arm*) apk add --no-cache git python3 build-base ;; \