1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

copy arm qemu

This commit is contained in:
Aurélien Bondis 2019-04-01 11:31:19 -04:00
parent 7684eda5d5
commit a8f55aa73a

View File

@ -7,11 +7,10 @@ EDGE_DISTRO="balenalib/rpi-alpine:edge"
# Used for webmails
PHP="arm32v7/php:7.2-apache"
# NOTE: Might not be needed since using multiarch/qemu
QEMU="$(which qemu-arm-static)"
cp $QEMU ../webmails/rainloop/
cp $QEMU ../webmails/roundcube/
# use qemu-*-static from docker container
docker run --rm --privileged multiarch/qemu-user-static:register
docker-compose -f build.yml build --build-arg DISTRO=$DISTRO --build-arg PHP_DISTRO=$PHP --build-arg EDGE_DISTRO=$EDGE_DISTRO --parallel $@
docker-compose -f build.yml build \
--build-arg DISTRO=$DISTRO \
--build-arg PHP_DISTRO=$PHP \
--build-arg EDGE_DISTRO=$EDGE_DISTRO \
--parallel $@