|
|
@ -3,11 +3,13 @@
|
|
|
|
ALPINE_VER="3.10"
|
|
|
|
ALPINE_VER="3.10"
|
|
|
|
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
|
|
|
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
|
|
|
# Used for webmails
|
|
|
|
# Used for webmails
|
|
|
|
PHP="arm32v7/php:7.3-apache"
|
|
|
|
QEMU="arm"
|
|
|
|
|
|
|
|
ARCH="arm32v7/"
|
|
|
|
|
|
|
|
|
|
|
|
# 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 \
|
|
|
|
docker-compose -f build.yml build \
|
|
|
|
--build-arg DISTRO=$DISTRO \
|
|
|
|
--build-arg DISTRO=$DISTRO \
|
|
|
|
--build-arg PHP_DISTRO=$PHP \
|
|
|
|
--build-arg ARCH=$ARCH \
|
|
|
|
|
|
|
|
--build-arg QEMU=$QEMU \
|
|
|
|
--parallel $@
|
|
|
|
--parallel $@
|
|
|
|