summaryrefslogtreecommitdiff
path: root/build-allarch.sh
blob: f24abee365185c40b118cfc3769bf91d09cf3116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -o errexit

#echo "Building x86_64.."
#docker build -f Dockerfile.build.x86_64 -t docker-build-x86_64 .
#docker run --rm -v "$(pwd):/docker" docker-build-x86_64 ./build.sh

#echo "Building i386.."
#docker build -f Dockerfile.build.i386 -t docker-build-i386 .
#docker run --rm -v "$(pwd):/docker" docker-build-i386 ./build.sh

echo "Building armv7.."
docker run --rm -e GOARM=7 -v "$(pwd):/docker" docker-build-arm /bin/sh build.sh

#echo "Building aarch64.."
#docker build -f Dockerfile.build.aarch64 -t docker-build-aarch64 .
#docker run --rm -v "$(pwd):/docker" docker-build-aarch64 /bin/sh build.sh