#!/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