Image base: distroless removed its debian12 builds (2026-09-10); move ko to static-debian13 #993

Closed
opened 2026-10-24 16:13:22 +00:00 by Cordy · 1 comment
Owner

Found in the #985 research (research-985-5 §2).

distroless commit 3833bee "Remove debian12 builds" (2026-09-10): distro.bzl now builds only debian13 (trixie). The README still lists debian12 tags, but nothing rebuilds them. VERIFIED.

Cairn: .ko.yaml:4 defaultBaseImage: gcr.io/distroless/static-debian12:nonroot. Consequence (INFERRED): the released image's CA bundle and tzdata freeze at the last debian12 build; a stale CA bundle is a slow TLS failure as roots rotate.

Fix.

  • Switch to gcr.io/distroless/static-debian13:nonroot (same uid 65532, same CA path /etc/ssl/certs/ca-certificates.crt).
  • Add a guard test like the Dockerfile/go.mod one that refuses a base image upstream no longer builds.
  • CHANGELOG entry in the release that switches.
Found in the #985 research (research-985-5 §2). distroless commit 3833bee "Remove debian12 builds" (2026-09-10): `distro.bzl` now builds only debian13 (trixie). The README still lists debian12 tags, but nothing rebuilds them. VERIFIED. Cairn: `.ko.yaml:4` `defaultBaseImage: gcr.io/distroless/static-debian12:nonroot`. Consequence (INFERRED): the released image's CA bundle and tzdata freeze at the last debian12 build; a stale CA bundle is a slow TLS failure as roots rotate. **Fix.** - Switch to `gcr.io/distroless/static-debian13:nonroot` (same uid 65532, same CA path `/etc/ssl/certs/ca-certificates.crt`). - Add a guard test like the Dockerfile/go.mod one that refuses a base image upstream no longer builds. - CHANGELOG entry in the release that switches.
Cordy referenced this issue from a commit 2026-10-25 19:36:52 +00:00
Author
Owner

Fixed in v0.6.354 (PR #1004). The ko base is now gcr.io/distroless/static-debian13:nonroot (same uid, same CA path). A guard test refuses debian12, root, :latest and non-distroless bases. The v0.6.354 image is built and running on both dogfoods. Closing.

Fixed in v0.6.354 (PR #1004). The ko base is now `gcr.io/distroless/static-debian13:nonroot` (same uid, same CA path). A guard test refuses debian12, root, `:latest` and non-distroless bases. The v0.6.354 image is built and running on both dogfoods. Closing.
Cordy closed this issue 2026-10-25 21:29:34 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#993
No description provided.