Add qemu check

This commit is contained in:
asonix 2020-05-03 09:40:35 -05:00
parent 45ad373c06
commit a71cdcac0e

View file

@ -22,6 +22,11 @@ function print_help() {
require "$TAG" tag require "$TAG" tag
if ! docker run --rm -it arm64v8/ubuntu:19.10 /bin/bash -c 'echo "docker is configured correctly"'; then
echo "docker is not configured to run on qemu-emulated architectures, fixing will require sudo"
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
fi
set -xe set -xe
docker build \ docker build \