Skip to content

release(image-compliance): smoke tests, hadolint, Trivy, date tags → main#4

Merged
Headgent merged 1 commit into
mainfrom
develop
Jun 14, 2026
Merged

release(image-compliance): smoke tests, hadolint, Trivy, date tags → main#4
Headgent merged 1 commit into
mainfrom
develop

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

Release-PR: bringt die in #3 nach develop gemergten Image-Compliance-Änderungen nach main. Der main-Push publiziert die Images (moving + Datums-Tags) auf Docker Hub.

Inhalt (P2-phpfpm F0–F6)

  • Smoke-Tests (php-fpm bootet & healthy, Extensions, OPcache+JIT, nginx -t)
  • Push-Guard (Tests vor Push; kein Push auf PR-Events)
  • hadolint-Job + .hadolint.yaml; || true in src/php/Dockerfile entfernt
  • entrypoint.sh: php-fpm als appuser (kein root-Dienst), dev-Bind-Mount-Remap erhalten
  • Trivy-Report-Job (continue-on-error, Summary)
  • Immutable Datums-Tags (:8.x-YYYYMMDD, :1.28-YYYYMMDD)
  • README: Tag-Empfehlung + Test-Targets

Beweis aus PR #3 (develop)

hadolint ✅ · build-nginx ✅ · build-phpfpm 8.2/8.3/8.4 ✅ (Tests liefen, Push auf PR übersprungen). Der main-Run beweist zusätzlich die Datums-Tags (multi-arch) und die Trivy-Summary.

Bring the phpfpm image repo to the same compliance bar as phpcli:

- Smoke tests (support/makefiles/test.mk): build per-arch test images and
  verify php-fpm actually boots & is healthy, all extensions load, OPcache+JIT
  are active, and the nginx vhost renders to a valid config (nginx -t).
- Push guard: run the smoke tests before the push steps and skip pushing on
  pull_request events, so PRs validate without publishing.
- hadolint job + .hadolint.yaml (DL3018, DL4006 — both deliberate base-image
  decisions). Removed a `|| true` in src/php/Dockerfile that masked the entire
  build RUN stage.
- entrypoint.sh: run the php-fpm master and workers as appuser (chown stdio
  pipes once as root, then drop) — no root service, dev bind-mount UID remap
  preserved.
- Trivy report job (continue-on-error) writing a vuln summary to the run.
- Immutable date tags (:8.x-YYYYMMDD, :1.28-YYYYMMDD) alongside the moving tags.
- README: moving vs. immutable tag guidance; test targets documented.
@Headgent Headgent merged commit c0c10ac into main Jun 14, 2026
@Headgent Headgent deleted the develop branch June 14, 2026 12:05
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.

1 participant