diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-26 08:45:17 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-26 08:45:17 +0300 |
commit | 40f0cbc9b6800cf585bd0e17dd02799c669cef83 (patch) | |
tree | e6e0e041989f854f5e071c54c03ac0fa907c24a1 /batch.sh | |
parent | f1cc627f2fc0f30dd6c6323b0cffd4d34e739141 (diff) |
build: generate armhf container locally with qemu-user
Diffstat (limited to 'batch.sh')
-rwxr-xr-x | batch.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -30,7 +30,6 @@ CLEAN=1 ./build-SD-rpi.sh "$IP" ./build-SD-armbian.sh bananapi Bananapi # Docker x86 -docker pull debian:stretch-slim make nextcloudpi-x86 && { docker push ownyourbits/nextcloudpi-x86 docker push ownyourbits/nextcloud-x86 @@ -38,10 +37,14 @@ make nextcloudpi-x86 && { docker push ownyourbits/debian-ncp-x86 } -# docker armhf -[[ -f docker-armhf/raspbian_docker.img ]] || \ - ./installer.sh docker-armhf/docker-env.sh "$IP" raspbian_lite.img # && mv -./installer.sh docker-armhf/build-container.sh "$IP" docker-armhf/raspbian_docker.img +# Docker armhf +[[ -f qemu-arm-static ]] || cp /usr/bin/qemu-arm-static . || echo { "Need qemu-arm-static (and binfmt support) in the system to build the ARM container"; exit 1; } +make nextcloudpi-armhf && { + docker push ownyourbits/nextcloudpi-armhf + docker push ownyourbits/nextcloud-armhf + docker push ownyourbits/lamp-armhf + docker push ownyourbits/debian-ncp-armhf +} # License # |