Switch to bullseye

This commit is contained in:
Serge Schneider
2021-10-04 15:40:35 +01:00
parent a8596e0d89
commit d9b4a4a985
9 changed files with 40 additions and 45 deletions

View File

@@ -78,10 +78,10 @@ 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=i386/debian:buster
BASE_IMAGE=i386/debian:bullseye
;;
*)
BASE_IMAGE=debian:buster
BASE_IMAGE=debian:bullseye
;;
esac
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}"