|
|
@ -7,11 +7,10 @@ EDGE_DISTRO="balenalib/rpi-alpine:edge"
|
|
|
|
# Used for webmails
|
|
|
|
# Used for webmails
|
|
|
|
PHP="arm32v7/php:7.2-apache"
|
|
|
|
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
|
|
|
|
# use qemu-*-static from docker container
|
|
|
|
docker run --rm --privileged multiarch/qemu-user-static:register
|
|
|
|
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 $@
|
|
|
|