From a8f55aa73af283dddb68852d099881bebc905a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bondis?= Date: Mon, 1 Apr 2019 11:31:19 -0400 Subject: [PATCH] copy arm qemu --- tests/build_arm.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/build_arm.sh b/tests/build_arm.sh index 280de51f..eca34351 100755 --- a/tests/build_arm.sh +++ b/tests/build_arm.sh @@ -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 $@