docs(adr): ADR-WULF-012, always build undistro images #23

Merged
neerdoc merged 56 commits from docs/adr-image-build-system into main 2026-11-25 07:56:24 +00:00
Owner

Summary

ADR-WULF-012 decides that the company always builds undistro images (apko, with melange where Wolfi lacks a package, never a Containerfile or Dockerfile). How they are built, published and signed is in the first company pattern, company/patterns/container-image-build.md. This follows ADR-WULF-011 (prefer Podman over Docker) and closes the decision part of issue 0078.

Changes

  • ADR-WULF-012: the decision, in about 15 lines, citing the pattern.
  • Pattern company/patterns/container-image-build.md (new, first draft; its form is still open under 0081): where the code is (the shared scripts, nothing copied into a repo), the rules (rebuild, reproducible, melange key, output to build/, architectures, publish in two steps, signing, credentials through a credential helper with no stored credential, annotations, version, updates), the changes the shared scripts need, and what is not verified.
  • ADR-WULF-003: images/ at the root, apart from src/; in a repo whose product is an image the code is src/ and images/.
  • ADR-WULF-004: images/ is mounted as code (read-write in stage 4, read-only in stage 5, never in stages 1-3); the audit builds the image from src/ and images/.
  • ADR-WULF-010: the runner passes SOURCE_DATE_EPOCH (the time of the last commit of the host repository) to every run; nothing is set in a repository with no commit.
  • Issues: 0085 (apko lock file, deferred), 0086 (the update job and the stage process, deferred), 0087 (stage runner work); a comment on 0078 that holds the ten issues for other repos; a comment on 0081 about linking patterns into a consuming repo.
  • Review records: docs/reviews/adr-image-build-system/review-001 to review-003. Round 001 found 13 findings (1 High, 5 Medium, 7 Low), round 002 found 6 (2 Medium, 4 Low), all fixed or deferred with the owner's decision. Round 003 found 4 Low and no High or Medium, so the round is clean; three Low are fixed and one deferred (0086).

Review

Latest round: docs/reviews/adr-image-build-system/review-003, clean. Deferred and tracked: 0085, 0086.

🤖 Generated with Claude Code

## Summary ADR-WULF-012 decides that the company always builds undistro images (apko, with melange where Wolfi lacks a package, never a Containerfile or Dockerfile). How they are built, published and signed is in the first company pattern, `company/patterns/container-image-build.md`. This follows ADR-WULF-011 (prefer Podman over Docker) and closes the decision part of issue 0078. ## Changes - **ADR-WULF-012:** the decision, in about 15 lines, citing the pattern. - **Pattern `company/patterns/container-image-build.md`** (new, first draft; its form is still open under 0081): where the code is (the shared scripts, nothing copied into a repo), the rules (rebuild, reproducible, melange key, output to `build/`, architectures, publish in two steps, signing, credentials through a credential helper with no stored credential, annotations, version, updates), the changes the shared scripts need, and what is not verified. - **ADR-WULF-003:** `images/` at the root, apart from `src/`; in a repo whose product is an image the code is `src/` and `images/`. - **ADR-WULF-004:** `images/` is mounted as code (read-write in stage 4, read-only in stage 5, never in stages 1-3); the audit builds the image from `src/` and `images/`. - **ADR-WULF-010:** the runner passes `SOURCE_DATE_EPOCH` (the time of the last commit of the host repository) to every run; nothing is set in a repository with no commit. - **Issues:** 0085 (apko lock file, deferred), 0086 (the update job and the stage process, deferred), 0087 (stage runner work); a comment on 0078 that holds the ten issues for other repos; a comment on 0081 about linking patterns into a consuming repo. - **Review records:** `docs/reviews/adr-image-build-system/review-001` to `review-003`. Round 001 found 13 findings (1 High, 5 Medium, 7 Low), round 002 found 6 (2 Medium, 4 Low), all fixed or deferred with the owner's decision. Round 003 found 4 Low and no High or Medium, so the round is clean; three Low are fixed and one deferred (0086). ## Review Latest round: `docs/reviews/adr-image-build-system/review-003`, clean. Deferred and tracked: 0085, 0086. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The ADR holds the decision. How images are built, published and signed
is in the first company pattern, company/patterns/container-image-build.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 001 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 004 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 005 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 003 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 002 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 006 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 007 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 008 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 009 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Corrects the resolution of 003 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 010 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 011 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 012 of review 001 of adr-image-build-system. The linking of
patterns into a consuming repo is noted on issue 0081.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 013 of review 001 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 002 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 001 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 003 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 004 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 005 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 006 of review 002 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 001 of review 003 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 002 of review 003 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 003 of review 003 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 004 of review 003 of adr-image-build-system.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
0087 is the stage runner work. The ten issues for other repos are on 0078
as a comment, to be filed in the repos they belong to.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
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
WulfScience-FOSS/wulf-dev!23
No description provided.