1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-12-01 22:41:53 +02:00

fix ARG positions

This commit is contained in:
Aurélien Bondis
2019-08-30 10:24:08 -04:00
parent e1a4bf32a6
commit 34079244a6
2 changed files with 3 additions and 1 deletions

View File

@@ -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 \

View File

@@ -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