Repository navigation
Fixes 38293: Upgrade the JRE from trixie-security in operator ingestion images - #38294
Conversation
…estion images default-jre-headless is installed in the early apt layer, whose cache key never changes, so the image kept the JDK point release that was current when that layer was first built. Add src:openjdk-NN to the late security-upgrade layer so each build takes trixie-security's latest openjdk.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskAdding openjdk packages to late apt upgrades refreshes the operator images’ JRE, which could alter Java runtime behavior across those images. Adds VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
…estion images (#38294) (#38299) default-jre-headless is installed in the early apt layer, whose cache key never changes, so the image kept the JDK point release that was current when that layer was first built. Add src:openjdk-NN to the late security-upgrade layer so each build takes trixie-security's latest openjdk. (cherry picked from commit e19a162)
…estion images (#38294) (#38300) default-jre-headless is installed in the early apt layer, whose cache key never changes, so the image kept the JDK point release that was current when that layer was first built. Add src:openjdk-NN to the late security-upgrade layer so each build takes trixie-security's latest openjdk. (cherry picked from commit e19a162)
Describe your changes:
Fixes #38293
The operator ingestion images install
default-jre-headlessin the top-of-file apt layer. Docker caches that layer indefinitely, so builds kept the old openjdk point release (21.0.13+9) even though trixie-security has a newer one. This PR addssrc:openjdk-NNto the existing dpkg-source upgrade set in the late root layer ofingestion/operators/docker/DockerfileandDockerfile.ci. That layer re-reads the Debian index on every build, so each build now gets the latest trixie-security JRE. The Airflow-basedingestion/Dockerfile{,.ci}are out of scope: they are bookworm/JDK 17 and not affected by this report.Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
python:3.12-slim-trixie(linux/amd64), installedopenjdk-21-jre-headless=21.0.12.1+1-1~deb13u1, then ran the PR's exactdpkg-query … awkexpression andapt-get install --only-upgrade.openjdk-21-jre-headless.java -versionprintedopenjdk version "21.0.13.1" 2026-11-17.py-operator-build-teston this PR buildsDockerfile.ciend to end. That build and its sample-data ingest are still pending in CI.UI screen recording:
Not applicable — Docker build change with no UI impact.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
Adds installed OpenJDK packages to the late package-upgrade step in both operator ingestion Dockerfiles.
Acknowledged scope:
ulixius9explicitly excluded the Airflow-based images because they use Bookworm and Java 17.Reviews (1) · Last reviewed commit: "Upgrade the JRE to trixie-security's lat..." · Reviewed by Greptile