rebase and update for 3.10, avoid adding qemu file to x86 images
parent
a8f55aa73a
commit
124b1d4c71
@ -1,5 +1,6 @@
|
||||
# This is an idle image to dynamically replace any component if disabled.
|
||||
|
||||
FROM alpine:3.10
|
||||
ARG DISTRO=alpine:3.10
|
||||
FROM $DISTRO
|
||||
|
||||
CMD sleep 1000000d
|
||||
|
@ -1,16 +1,13 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
ALPINE_VER="3.8"
|
||||
ALPINE_VER="3.10"
|
||||
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
||||
# Used for Radicale
|
||||
EDGE_DISTRO="balenalib/rpi-alpine:edge"
|
||||
# Used for webmails
|
||||
PHP="arm32v7/php:7.2-apache"
|
||||
PHP="arm32v7/php:7.3-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 $@
|
||||
|
Loading…
Reference in New Issue