diff options
| author | Stefan Becker <chemobejk@gmail.com> | 2023-10-18 12:22:27 +0300 |
|---|---|---|
| committer | XECDesign <XECDesign@users.noreply.github.com> | 2025-01-22 13:55:04 +0000 |
| commit | e071d0de36561a13039bf4d561f5204a7ecd8e34 (patch) | |
| tree | 89c332ecc8279f9e43af187082328327cc2048e4 | |
| parent | fb5180d3de101a545c755f2f34ddef0042a6b549 (diff) | |
Switch docker build to Debian Bookworm
| -rwxr-xr-x | build-docker.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-docker.sh b/build-docker.sh index 41e341f..0591c34 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -85,10 +85,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:bullseye + BASE_IMAGE=i386/debian:bookworm ;; *) - BASE_IMAGE=debian:bullseye + BASE_IMAGE=debian:bookworm ;; esac ${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}" @@ -151,7 +151,7 @@ time ${DOCKER} run \ pi-gen \ bash -e -o pipefail -c " dpkg-reconfigure qemu-user-static && - # binfmt_misc is sometimes not mounted with debian bullseye image + # binfmt_misc is sometimes not mounted with debian bookworm image (mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc || true) && cd /pi-gen; ./build.sh ${BUILD_OPTS} && rsync -av work/*/build.log deploy/ |
