From d069ff42fe9cebc14dd6f6b1dc4ca28a8814e40e Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 3 Aug 2026 11:37:21 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Log=20Dockerfile=20OCI-label=20c?= =?UTF-8?q?ompliance=20finding=20to=20TODO.AI.md=20=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found while regenerating .env.scripts in Step 1: gen-dockerfile --update left the Dockerfile with zero diff, but it still carries three labels AI.md's OCI label standard explicitly says must not exist. Not fixed here to keep this pass scoped to the template-update runbook and the build/test verification the user asked for; logging so it isn't lost. - TODO.AI.md: add a new item for org.opencontainers.image.base.name, org.opencontainers.image.schema-version, and the duplicate/wrong-value org.opencontainers.image.authors label in Dockerfile --- TODO.AI.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO.AI.md b/TODO.AI.md index 1b6cab0..74d2b08 100644 --- a/TODO.AI.md +++ b/TODO.AI.md @@ -18,3 +18,15 @@ Read: AI.md (Docker Template Update Runbook), Step 3/5 - [ ] `__initialize_custom_bin_dir()` (line 1428): `create_bin_name` assigned without `local` - [ ] No `VERSION=` assignment in body to match the `##@Version` header (functions library — confirm whether versioning is required for this file type before adding) + +## [ ] Remove forbidden OCI labels from Dockerfile +Read: AI.md § OCI label standard (lines 55-85) + +Found during the build/test pass — `gen-dockerfile --update` left the Dockerfile untouched +(zero diff), but it still carries labels AI.md explicitly says must not exist: +- [ ] `LABEL org.opencontainers.image.base.name="${IMAGE_NAME}"` — belongs on the base image, + not the app image; remove +- [ ] `LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}"` — non-spec, redundant + with `version`; remove +- [ ] `LABEL org.opencontainers.image.authors="${LICENSE}"` — duplicate `authors` label with + the wrong value (a license string, not an author); remove or fix