pass ARG to DEV image
This commit is contained in:
父節點
e427f472eb
當前提交
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 ;; \
|
||||
|
新增問題並參考
Block a user