From 5b977b7c8efcccc17af88281f1a24eb7566d44a4 Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Tue, 9 Nov 2021 15:35:34 -0300 Subject: [PATCH] revert arch detection --- build-docker.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index f8b7e3d..2f8d49a 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -78,7 +78,14 @@ BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')" # Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead case "$(uname -m)" in x86_64|aarch64) - BASE_IMAGE=arm32v7/debian:bullseye + case "$(uname -m)" in + aarch64) + BASE_IMAGE=arm32v7/debian:bullseye + ;; + *) + BASE_IMAGE=i386/debian:bullseye + ;; + esac ;; *) BASE_IMAGE=debian:bullseye