Skip to content

feat(base): add debian/13/amd64 evidence-runs tuple#715

Merged
joshjhall merged 1 commit into
mainfrom
feature/issue-431
Jul 5, 2026
Merged

feat(base): add debian/13/amd64 evidence-runs tuple#715
joshjhall merged 1 commit into
mainfrom
feature/issue-431

Conversation

@joshjhall

Copy link
Copy Markdown
Owner

Summary

  • Add the debian/13/amd64 base-image tuple to the v5 evidence-runs matrix,
    completing Debian 13 (Trixie) coverage alongside the existing debian/13/arm64.
  • New base-images/debian/13/amd64/DockerfileFROM debian:13-slim with the
    shared minimal + hardened layer (hardening.sh), non-root runner (UID/GID
    1000), /etc/shells restricted to bash, service users → nologin, passwordless
    sudo off. Identical to the debian/13/arm64 sibling except the arch identity
    (header comment, LABEL title/description, io.containers.base-image.arch).
  • Register the tuple in the build-base-images.yml matrix (amd64 before arm64,
    matching the version-12 ordering).
  • Add debian/13/amd64 to REQUIRED_TUPLES in
    tests/unit/base-images-structure.sh.

debian:13-slim tag availability is confirmed by the existing debian/13/arm64
tuple already building in CI.

Test plan

  • just test — full unit suite (3143 passed, 0 failed, 5 skipped), including
    base-images-structure.sh exercising the new tuple.
  • hadolint on the new Dockerfile — clean.
  • actionlint on the workflow — clean.
  • CI: Build Base Images builds base-debian-13-amd64 on this PR (build +
    Trivy scan, no publish); publish + cosign sign + SBOM attest run on merge to main.

Review findings

Adversarial pre-PR review: clean, 0 blocking. Two deferrable test-coverage
enhancements surfaced (not defects in this PR) — will file as follow-ups:

  • (medium) Add a parametrized check asserting each Dockerfile's FROM version
    token and io.containers.base-image.* LABELs match its directory path
    (guards copy-paste drift across all tuples).
  • (low) Automated parity check between REQUIRED_TUPLES and the workflow matrix
    (currently kept in sync by a code comment).

Closes #431

Add the debian/13/amd64 base-image tuple to the v5 evidence-runs matrix,
completing Debian 13 (Trixie) coverage alongside the existing arm64 tuple.

- New base-images/debian/13/amd64/Dockerfile — FROM debian:13-slim with the
  shared minimal+hardened layer (arch label amd64). debian:13-slim tag
  availability is confirmed by the existing debian/13/arm64 tuple already
  building in CI.
- Register the tuple in the build-base-images.yml matrix (amd64 before arm64,
  matching the version-12 ordering).
- Add debian/13/amd64 to REQUIRED_TUPLES in tests/unit/base-images-structure.sh.

Closes #431
@joshjhall joshjhall merged commit b11446f into main Jul 5, 2026
28 checks passed
@joshjhall joshjhall deleted the feature/issue-431 branch July 5, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add base-images/debian/13/amd64 tuple to evidence-runs matrix

2 participants