From 0104e46e60514dd0bad31549f7978d9e4dbbb224 Mon Sep 17 00:00:00 2001 From: Gunnar Andersson Date: Sun, 15 Feb 2026 18:31:00 +0100 Subject: [PATCH] Dockerfile: Update runtime images to debian 13 Dockerfile builder image 1.93-slim is (now?) based on debian trixie (13) The production runtime image was created based on debian-12 which did not have the version of libc that zeroclaw was built against and that caused this error: [zeroclaw] | zeroclaw: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by zeroclaw) Upgraded runtime image to debian 13 to solve the issue --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f26aed5..c9608ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ EOF RUN chown -R 65534:65534 /zeroclaw-data # ── Stage 3: Development Runtime (Debian) ──────────────────── -FROM debian:bookworm-slim AS dev +FROM debian:trixie-slim AS dev # Install runtime dependencies + basic debug tools RUN apt-get update && apt-get install -y \ @@ -89,7 +89,7 @@ ENTRYPOINT ["zeroclaw"] CMD ["gateway", "--port", "3000", "--host", "[::]"] # ── Stage 4: Production Runtime (Distroless) ───────────────── -FROM gcr.io/distroless/cc-debian12:nonroot AS release +FROM gcr.io/distroless/cc-debian13:nonroot AS release COPY --from=builder /app/target/release/zeroclaw /usr/local/bin/zeroclaw COPY --from=permissions /zeroclaw-data /zeroclaw-data