1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00
Mailu/tests/build_arm.sh

16 lines
369 B
Bash
Raw Normal View History

2019-03-30 01:37:40 -04:00
#!/bin/bash -x
ALPINE_VER="3.10"
2019-03-31 15:52:43 -04:00
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
# Used for webmails
QEMU="arm"
ARCH="arm32v7/"
# use qemu-*-static from docker container
docker run --rm --privileged multiarch/qemu-user-static:register
2019-04-01 11:31:19 -04:00
docker-compose -f build.yml build \
--build-arg DISTRO=$DISTRO \
--build-arg ARCH=$ARCH \
--build-arg QEMU=$QEMU \
2019-04-01 11:31:19 -04:00
--parallel $@