1
0

pass ARG to DEV image

Dieser Commit ist enthalten in:
dev-docker 2021-05-19 15:36:46 +00:00
Ursprung e427f472eb
Commit 8d55a3741b

Datei anzeigen

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