The Free Software Media System - Server Backend & API
Only support Docker builds on amd64
Joshua M. Bonifacec61e95d11757
diff --git a/build.sh b/build.shindex b61126e11f..f318a0b1f6 100755--- a/build.sh+++ b/build.sh@@ -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+ fiif [[ ! -f deployment/Dockerfile.${PLATFORM} ]]; thenecho "Missing Dockerfile for platform ${PLATFORM}"exit 1