Skip to content

[2.0] Upgrade the JRE from trixie-security in operator ingestion images (#38294) - #38299

Merged
ulixius9 merged 1 commit into
2.0from
ulixius9/backport-38294-2.0
Nov 20, 2026
Merged

ulixius9 merged 1 commit into
2.0from
ulixius9/backport-38294-2.0

Conversation

@ulixius9

@ulixius9 ulixius9 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Backport of #38294 to 2.0 (fixes #38293). git cherry-pick -x applied cleanly.

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. This adds src:openjdk-NN to the late security-upgrade layer in Dockerfile and Dockerfile.ci, so each build takes trixie-security's latest openjdk.

Both files on 2.0 use the same trixie base and default-jre-headless install as main.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Both operator images now include installed OpenJDK packages in their late security-upgrade step.

  • Operator image builds can upgrade the installed OpenJDK packages.

Reviews (1) · Last reviewed commit: "Upgrade the JRE to trixie-security's lat..." · Reviewed by Greptile

…estion images (#38294)

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)
@ulixius9
ulixius9 requested a review from a team as a code owner November 20, 2026 12:01
@ulixius9
ulixius9 requested review from harshsoni2024 and removed request for a team November 20, 2026 12:01
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Adding openjdk packages to late apt upgrades changes the JRE shipped in operator images; a newer runtime could affect ingestion execution.

Backports the fix that upgrades the JRE in the operator ingestion images by adding src:openjdk-NN to the late security-upgrade layer in Dockerfile and Dockerfile.ci, so builds pick up trixie-security's latest OpenJDK instead of a stale cached point release. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@ulixius9 ulixius9 added the skip-pr-checks Bypass PR metadata validation check label Nov 20, 2026
@ulixius9
ulixius9 merged commit 068a574 into 2.0 Nov 20, 2026
68 of 71 checks passed
@ulixius9
ulixius9 deleted the ulixius9/backport-38294-2.0 branch November 20, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-pr-checks Bypass PR metadata validation check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant