P17: Hardened containers — auto-patch vulns via CI/CD #129

Merged
kert merged 1 commits from feature/hardened-containers into main 2026-03-23 18:20:55 +00:00
Owner

Summary

  • Harden all 4 Dockerfiles with apt-get upgrade / apk upgrade to patch base image CVEs
  • Add HEALTHCHECK directives to notebooks, docs, api images
  • New .woodpecker/harden.yml pipeline (manual/cron) that rebuilds with --no-cache, scans, and auto-closes vuln issues
  • New api.diag.vuln --close mode that closes Gitea vuln issues when scan is clean
  • 26 tests for vuln module including close mode

Issues addressed

Test plan

  • Merge PR
  • Run hardening pipeline manually from Woodpecker UI
  • Verify scans show fewer vulns after apt upgrade
  • Verify vuln issues auto-closed if scans are clean
  • Verify HEALTHCHECK works: docker inspect --format='{{.State.Health.Status}}' notebooks
## Summary - Harden all 4 Dockerfiles with `apt-get upgrade` / `apk upgrade` to patch base image CVEs - Add HEALTHCHECK directives to notebooks, docs, api images - New `.woodpecker/harden.yml` pipeline (manual/cron) that rebuilds with `--no-cache`, scans, and auto-closes vuln issues - New `api.diag.vuln --close` mode that closes Gitea vuln issues when scan is clean - 26 tests for vuln module including close mode ## Issues addressed - #123 Harden notebooks (refs #114) - #124 Harden zotero (refs #115) - #125 Harden docs (refs #116) - #126 Harden api (refs #117) - #127 Hardening pipeline - #128 Auto-close vuln issues ## Test plan - [ ] Merge PR - [ ] Run hardening pipeline manually from Woodpecker UI - [ ] Verify scans show fewer vulns after apt upgrade - [ ] Verify vuln issues auto-closed if scans are clean - [ ] Verify HEALTHCHECK works: `docker inspect --format='{{.State.Health.Status}}' notebooks`
kert added this to the P17: Hardened Containers — auto-patch vulns via CI/CD milestone 2026-03-23 18:16:39 +00:00
kert added 1 commit 2026-03-23 18:16:40 +00:00
trigger: test with fresh Gitea token
All checks were successful
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/infra-ci Pipeline was successful
9f03a8e7ab
kert merged commit 8d83fbc245 into main 2026-03-23 18:20:55 +00:00
Sign in to join this conversation.