# 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 \
&& 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 . .
cargo install --path .
# Runtime stage.
-FROM debian:bookworm-slim
+FROM debian:trixie-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \