Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-06-26 08:45:17 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-26 08:45:17 +0300
commit40f0cbc9b6800cf585bd0e17dd02799c669cef83 (patch)
treee6e0e041989f854f5e071c54c03ac0fa907c24a1 /batch.sh
parentf1cc627f2fc0f30dd6c6323b0cffd4d34e739141 (diff)
build: generate armhf container locally with qemu-user
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/batch.sh b/batch.sh
index 6407ee9e..69965146 100755
--- a/batch.sh
+++ b/batch.sh
@@ -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
#