mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
copy arm qemu
This commit is contained in:
parent
7684eda5d5
commit
a8f55aa73a
@ -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 $@
|
||||||
|
Loading…
Reference in New Issue
Block a user