fix(docker): apt-get upgrade the journal and planner base images #293

Merged
ullrich merged 1 commit from app-images-apt-upgrade into main 2026-10-29 11:42:26 +00:00
Owner

Run 3089 of the dependency audit flags brotli (DEBIAN-CVE-2026-111497, critical) in both the journal and planner images. node:26.12.1-slim ships 1.1.0-2+b7, and the fix is 1.1.0-2+deb13u1 in trixie-security. The base stage only ran apt-get install, so rebuilding never pulled in the fix. This PR adds apt-get upgrade -y, the same pattern docker/brouter and docker/photon already use.

The runtime stage is FROM base, so the upgrade reaches the shipped images. The Journal Image Smoke Test covers the journal build. The planner Dockerfile gets the identical change, but CI doesn't build it until cd-apps runs.

Refs #168

🤖 Generated with Claude Code

Run 3089 of the dependency audit flags `brotli` (DEBIAN-CVE-2026-111497, critical) in both the journal and planner images. `node:26.12.1-slim` ships `1.1.0-2+b7`, and the fix is `1.1.0-2+deb13u1` in trixie-security. The base stage only ran `apt-get install`, so rebuilding never pulled in the fix. This PR adds `apt-get upgrade -y`, the same pattern `docker/brouter` and `docker/photon` already use. The runtime stage is `FROM base`, so the upgrade reaches the shipped images. The Journal Image Smoke Test covers the journal build. The planner Dockerfile gets the identical change, but CI doesn't build it until `cd-apps` runs. Refs #168 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(docker): apt-get upgrade the journal and planner base images
All checks were successful
CD Staging / Build & Push journal Image (pull_request) Has been skipped
CD Staging / Build & Push planner Image (pull_request) Has been skipped
CD Staging / Deploy Staging (pull_request) Has been skipped
CD Staging / Deploy PR Preview (pull_request) Has been skipped
CI / Security Scan (pull_request) Successful in 7s
CI / Dockerfile Package Check (pull_request) Successful in 5s
CI / Visual Tests (pull_request) Successful in 45s
CI / Checks (pull_request) Successful in 2m35s
CI / Journal Image Smoke Test (pull_request) Successful in 2m36s
CI / E2E Tests (pull_request) Successful in 3m59s
Cancel superseded CI / Cancel in-flight CI (pull_request) Successful in 2s
CD Staging / Tear Down PR Preview (pull_request) Successful in 12s
ed097230aa
node:26.12.1-slim ships brotli 1.1.0-2+b7; trixie-security has the fix
for DEBIAN-CVE-2026-111497 in 1.1.0-2+deb13u1. The base stage only ran
apt-get install, so a rebuild never picked it up. Same pattern the
brouter and photon Dockerfiles already use.

Refs #168

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ullrich deleted branch app-images-apt-upgrade 2026-10-29 11:42:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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
trails-cool/trails!293
No description provided.