From becd8b122eddd5329d4e5b9c43dbf953b4d4a065 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Fri, 20 Nov 2026 11:14:12 +0000 Subject: [PATCH] ci: bump Docker base images from Debian bullseye to bookworm The Dockerfiles use Debian 11 (bullseye) base images, whose package pools have been archived off the primary Debian mirrors. As a result, `apt-get update && apt-get install` now fails with `404 Not Found` from deb.debian.org (e.g. ca-certificates, gnupg, wget, openssl, sqlite3), breaking the Docker image builds. This is pre-existing infrastructure bitrot, not a code regression. Bump the base images to Debian 12 (bookworm) in both Dockerfiles, updating the builder and runtime stages together so the glibc version stays consistent across stages: - rust:slim-bullseye -> rust:slim-bookworm - debian:bullseye-slim -> debian:bookworm-slim Dockerfile.musl is unaffected (it uses a non-Debian base) and is left unchanged. Co-Authored-By: Claude Opus 4.8 --- Dockerfile | 6 +++--- Dockerfile.dev | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42c548b5b3..da4cc8a20d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build sqld -FROM rust:slim-bullseye AS chef +FROM rust:slim-bookworm AS chef RUN apt update \ && apt install -y libclang-dev clang \ build-essential tcl protobuf-compiler file \ @@ -39,7 +39,7 @@ RUN if [ "$ENABLE_FEATURES" == "" ]; then \ RUN cargo build -p bottomless-cli --release --locked # official gosu install instruction (https://github.com/tianon/gosu/blob/master/INSTALL.md) -FROM debian:bullseye-slim as gosu +FROM debian:bookworm-slim as gosu ENV GOSU_VERSION 1.17 RUN set -eux; \ # save list of currently installed packages for later so we can clean up @@ -70,7 +70,7 @@ RUN set -eux; \ gosu nobody true # runtime -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt update EXPOSE 5001 8080 diff --git a/Dockerfile.dev b/Dockerfile.dev index 021d925baa..7569bd8e15 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,5 +1,5 @@ # build sqld -FROM rust:slim-bullseye as builder +FROM rust:slim-bookworm as builder RUN apt update \ && apt install -y libclang-dev clang \ build-essential tcl protobuf-compiler file \ @@ -17,7 +17,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ # official gosu install instruction (https://github.com/tianon/gosu/blob/master/INSTALL.md) -FROM debian:bullseye-slim as gosu +FROM debian:bookworm-slim as gosu ENV GOSU_VERSION 1.17 RUN set -eux; \ # save list of currently installed packages for later so we can clean up @@ -48,7 +48,7 @@ RUN set -eux; \ gosu nobody true # runtime -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt update EXPOSE 5001 8080