fix ARG positions

master
Aurélien Bondis 5 years ago
parent e1a4bf32a6
commit 34079244a6

@ -1,4 +1,5 @@
# First stage to build assets
ARG DISTRO=alpine:3.10
ARG ARCH=""
FROM ${ARCH}node:8 as assets
COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
@ -13,7 +14,6 @@ RUN mkdir static \
# Actual application
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \

@ -1,4 +1,6 @@
# NOTE: only add file if building for arm
ARG ARCH=""
ARG QEMU=other
FROM ${ARCH}php:7.3-apache as build_arm
ONBUILD COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static

Loading…
Cancel
Save