tükrözve innen: fbrinker/docker-tileboard-OUTDATED
pass ARG to DEV image
This commit is contained in:
szülő
e427f472eb
commit
8d55a3741b
@ -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 ;; \
|
||||
|
Reference in New Issue
Block a user