[P17] Harden api image — apt upgrade, non-root, HEALTHCHECK #126

Closed
opened 2026-03-23 18:11:15 +00:00 by kert · 0 comments
Owner

Refs #117 (6 HIGH)

  • Add apt-get upgrade -y to patch bookworm-slim CVEs
  • Add USER 1000 to run as non-root
  • Add HEALTHCHECK CMD curl -sf http://localhost:8000/health || exit 1

Close #117 only after hardened image builds and scans clean.

Refs #117 (6 HIGH) - Add `apt-get upgrade -y` to patch bookworm-slim CVEs - Add `USER 1000` to run as non-root - Add `HEALTHCHECK CMD curl -sf http://localhost:8000/health || exit 1` Close #117 only after hardened image builds and scans clean.
kert added this to the P17: Hardened Containers — auto-patch vulns via CI/CD milestone 2026-03-23 18:11:15 +00:00
kert added the qualityci labels 2026-03-23 18:11:15 +00:00
kert closed this issue 2026-03-23 18:21:26 +00:00
Sign in to join this conversation.