Skip to content

[2.0] chore(docker): take the JDK from Corretto 21.0.13.1.2 - #38125

Merged
mohityadav766 merged 3 commits into
2.0from
chore/corretto-jdk-2.0
Nov 18, 2026
Merged

mohityadav766 merged 3 commits into
2.0from
chore/corretto-jdk-2.0

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Backport of #38115 to 2.0. Builds the 2.0 images on Amazon Corretto 21.0.13.1.2, which carries the November 2026 OpenJDK security release that Alpine's openjdk21 package and Temurin haven't published yet.

  • docker/development/Dockerfile, docker/docker-compose-quickstart/Dockerfile: jlink the runtime in amazoncorretto:21-alpine instead of installing openjdk21-jre-headless. It goes where the package put Java (/usr/lib/jvm/default-jvm, java-21-openjdk, launchers in /usr/bin), and Java keeps Alpine's CA store through java-cacerts.
  • openmetadata-k8s-operator/Dockerfile: jlink in amazoncorretto:21-alpine, on an Alpine runtime.
  • docker/rdf-store/Dockerfile, Dockerfile.fuseki-simple, Dockerfile.fuseki-working: a jlinked Corretto runtime on Ubuntu 22.04, the release the Temurin image used.
  • FusekiTestImage: the RDF tests run on openmetadata/fuseki:6.2.0-91a23ac, the image chore(fuseki): take the JDK from Corretto 21.0.13.1.2 jena#19 published on Corretto.

Testing

  • Built the server images from the 2.0.8 release (arm64). Compared with the published 2.0.8 image: same 117 trusted CAs, update-ca-certificates still reaches Java, no missing shared libraries, colour profiles, JPEG and PNG work, and openmetadata-ops.sh resolves its classes.
  • The operator image starts and /health answers.
  • The Fuseki images start and answer an authenticated SPARQL query.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The PR switches the server, operator, and local Fuseki images to Amazon Corretto 21 and updates the published Fuseki image used by RDF tests.

  • OpenMetadata server containers now run on a Corretto-built Java 21 runtime.
  • The Kubernetes operator now runs on a Corretto-built Java 21 runtime.
  • Fuseki containers and RDF tests now use the Corretto-based Java 21 image.

No new actionable issues were found in the changes since the previous review.

Reviews (9) · Last reviewed commit: "[2.0] chore(rdf): run the RDF tests on o..." · Reviewed by Greptile

The server, k8s operator and Fuseki images jlink their Java runtime
from Amazon Corretto's official images. The Alpine server images keep
the layout and the Alpine CA store the openjdk21 package gave them.
@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.

The compose health checks call them, and the Temurin base shipped both.
@gitar-bot

gitar-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findings

Replacing Java runtimes across server, operator, and Fuseki images with jlinked Corretto builds could alter runtime compatibility or certificate handling.

Switches the server, k8s operator, and Fuseki images from Alpine's openjdk21 package to a jlinked Amazon Corretto 21.0.13.1.2 runtime. The Fuseki quickstart healthchecks now have curl/wget installed in the image, addressing the finding that they were missing on ubuntu:22.04. No open issues found.

✅ 1 closed
✅ Bug: Fuseki quickstart healthchecks call curl/wget, absent on ubuntu:22.04

📄 docker/docker-compose-quickstart/Dockerfile.fuseki-simple:28-34 📄 docker/docker-compose-quickstart/Dockerfile.fuseki-working:18-24
docker-compose-fuseki-arm64.yml health-checks the Dockerfile.fuseki-simple image with curl -f http://localhost:3030/$/ping, and docker-compose-fuseki-multiarch.yml checks the Dockerfile.fuseki-working image with wget -q -O - .... The old eclipse-temurin:21-jre-jammy base installed both curl and wget. The new ubuntu:22.04 runtime has neither, and neither Dockerfile installs them, so these healthchecks will always fail and the containers will be marked unhealthy. Anything that waits on service_healthy will hang. The PR's testing only checked that the containers start and answer queries, so this wasn't caught. docker/rdf-store/Dockerfile is fine because it installs wget itself. To fix it, install the missing tool in each runtime stage.

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

@mohityadav766
mohityadav766 merged commit 11fc362 into 2.0 Nov 18, 2026
58 of 67 checks passed
@mohityadav766
mohityadav766 deleted the chore/corretto-jdk-2.0 branch November 18, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants