You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
update arm builds too
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
ARG DISTRO=alpine:3.14
|
ARG DISTRO=alpine:3.14
|
||||||
ARG ARCH=""
|
ARG ARCH=""
|
||||||
FROM ${ARCH}node:8 as assets
|
FROM ${ARCH}node:8 as assets
|
||||||
COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
COPY --from=balenalib/rpi-alpine:3.14 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ARG QEMU=other
|
|||||||
|
|
||||||
# NOTE: only add file if building for arm
|
# NOTE: only add file if building for arm
|
||||||
FROM ${ARCH}php:7.4-apache as build_arm
|
FROM ${ARCH}php:7.4-apache as build_arm
|
||||||
ONBUILD COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
ONBUILD COPY --from=balenalib/rpi-alpine:3.14 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
||||||
|
|
||||||
FROM ${ARCH}php:7.4-apache as build_other
|
FROM ${ARCH}php:7.4-apache as build_other
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
ARG ARCH=""
|
ARG ARCH=""
|
||||||
ARG QEMU=other
|
ARG QEMU=other
|
||||||
FROM ${ARCH}php:7.4-apache as build_arm
|
FROM ${ARCH}php:7.4-apache as build_arm
|
||||||
ONBUILD COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
ONBUILD COPY --from=balenalib/rpi-alpine:3.14 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
||||||
|
|
||||||
FROM ${ARCH}php:7.4-apache as build_other
|
FROM ${ARCH}php:7.4-apache as build_other
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user