From: Alpha Chen Date: Sat, 25 Apr 2026 13:45:27 +0000 (+0000) Subject: Switch base images from bookworm to trixie X-Git-Url: http://quire.kejadlen.dev/?a=commitdiff_plain;h=a55afb2cac46a2e4cd14642f9aa6169b0665b104;p=quire.git Switch base images from bookworm to trixie Trixie ships newer packages overall. Git still needs building from source (trixie has 2.47, we need 2.54+) but trixie is a better foundation going forward. Assisted-by: GLM-5.1 via pi --- diff --git a/Dockerfile b/Dockerfile index 7923e3b..9cb8cf1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # Git build stage. # -# Debian bookworm ships git 2.39, but we need 2.54+ for hook..command +# Debian trixie ships git 2.47, but we need 2.54+ for hook..command # config support. This lets quire register hooks via git config instead of # writing shim scripts to disk — the hook dispatches directly into the # quire binary as `quire hook `. ARG GIT_VERSION=2.54.0 -FROM debian:bookworm-slim AS git-builder +FROM debian:trixie-slim AS git-builder RUN apt-get update \ && apt-get install -y --no-install-recommends \ @@ -27,7 +27,7 @@ RUN curl -fsSL https://github.com/git/git/archive/refs/tags/v${GIT_VERSION}.tar. && make prefix=/usr/local install # Quire build stage. -FROM rust:1.88-bookworm AS builder +FROM rust:1.88-trixie AS builder WORKDIR /usr/src/quire COPY . . @@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ cargo install --path . # Runtime stage. -FROM debian:bookworm-slim +FROM debian:trixie-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \