]> quire.kejadlen.dev Git - quire.git/commitdiff
Switch base images from bookworm to trixie
authorAlpha Chen <alpha@kejadlen.dev>
Sat, 25 Apr 2026 13:45:27 +0000 (13:45 +0000)
committerAlpha Chen <alpha@kejadlen.dev>
Sat, 25 Apr 2026 13:45:59 +0000 (06:45 -0700)
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
Dockerfile

index 7923e3bd0c2d2c93c7edde3f4b3de0872efae829..9cb8cf16be4a4cf5532fc0f871396633a7f1cdf9 100644 (file)
@@ -1,11 +1,11 @@
 # Git build stage.
 #
-# Debian bookworm ships git 2.39, but we need 2.54+ for hook.<name>.command
+# Debian trixie ships git 2.47, but we need 2.54+ for hook.<name>.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 <name>`.
 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 \