You've already forked Mailu
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user