copy arm qemu

master
Aurélien Bondis 6 years ago
parent 7684eda5d5
commit a8f55aa73a

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

Loading…
Cancel
Save