1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

script to build arm images

This commit is contained in:
Aurélien Bondis 2019-03-30 01:37:40 -04:00
parent 13d6cf2fdb
commit 572a852e09
2 changed files with 5 additions and 0 deletions

1
CHANGELOG.md.20190330 Normal file
View File

@ -0,0 +1 @@
find . -iname 'dockerfile' -exec sed -i "s/FROM.*/ARG DISTRO=alpine:3.8\nFROM \$DISTRO/" '{}' \;

4
tests/build_arm.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash -x
export DISTRO="hypriot/rpi-alpine"
docker-compose -f build.yml build --build-arg DISTRO=$DISTRO # --parallel