You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
449 B
Bash
17 lines
449 B
Bash
#!/bin/bash -x
|
|
|
|
ALPINE_VER="3.8"
|
|
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
|
# Used for Radicale
|
|
EDGE_DISTRO="balenalib/rpi-alpine:edge"
|
|
# Used for webmails
|
|
PHP="arm32v7/php:7.2-apache"
|
|
|
|
# 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 $@
|