script to build arm images

master
Aurélien Bondis 6 years ago
parent 13d6cf2fdb
commit 572a852e09

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

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