diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 14:49:55 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 14:49:55 -0400 |
| commit | c61e95d11757656f9a71ec4b6d410c4c5936f516 (patch) | |
| tree | bda5802a144bab99d52fab2efa747eb5a1b381fc | |
| parent | 93d1256a4c80c071b0c14e066c13bb9720b63dc9 (diff) | |
Only support Docker builds on amd64
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,10 @@ do_build_native() { } do_build_docker() { + if ! dpkg --print-architecture | grep -q 'amd64'; then + echo "Docker-based builds only support amd64-based cross-building; use a native build instead" + exit 1 + fi if [[ ! -f deployment/Dockerfile.${PLATFORM} ]]; then echo "Missing Dockerfile for platform ${PLATFORM}" exit 1 |
