Skip to content

chore(docker): take the JDK from Corretto 21.0.13.1.2 - #38115

Merged
mohityadav766 merged 5 commits into
mainfrom
chore/corretto-jdk
Nov 18, 2026
Merged

mohityadav766 merged 5 commits into
mainfrom
chore/corretto-jdk

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Builds the server and k8s operator images on Amazon Corretto 21.0.13.1.2, which carries the November 2026 OpenJDK security release that Temurin hasn't published yet.

  • docker/development/Dockerfile, docker/docker-compose-quickstart/Dockerfile: jlink the runtime from Corretto's generic Linux build (amazoncorretto:21-al2-generic).
  • openmetadata-k8s-operator/Dockerfile: jlink in amazoncorretto:21-alpine, on an Alpine runtime.
  • Fuseki: every pin (FusekiTestImage, the Compose files, the Kubernetes example, the docs) moves to 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.
  • Both use the CA list Corretto ships.
  • scripts/docker_smoke_test.sh: check that the runtime is 21.0.13.1 or later.
  • Decision record added; the trust-store record amended.

Testing

  • scripts/docker_smoke_test.sh passes on the server image with the new runtime (arm64). The amd64 stage builds.
  • The runtime uses Corretto's CA list. TLS handshakes to the usual endpoints (SSO providers, AWS, Slack, Let's Encrypt, Gmail SMTP, Elastic Cloud) validate with it.
  • The operator image starts and /health answers.
  • The Fuseki image passed jena's smoke test on amd64 and arm64 before it was published.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The reviewed changes appear safe to merge; no blocking issues were found.

Summary

Moves the server and Kubernetes operator images to Amazon Corretto and updates the shared Fuseki image pin.

  • Server and operator images now build their Java runtimes with Corretto.
  • RDF workflows now start the updated pinned Fuseki image.

No new actionable issues were found. The earlier Maven build issue is addressed: the operator build no longer requires TARGETARCH. Image builds and runtime tests were not run during this review.

Reviews (9) · Last reviewed commit: "chore(rdf): pin openmetadata/fuseki 6.2...." · Reviewed by Greptile

The server and k8s operator images jlink their runtime from the pinned
Corretto tarball for the target architecture. The docker smoke test checks
the runtime version.
@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.

Comment thread openmetadata-k8s-operator/Dockerfile Resolved
…n's CA list

The server builder copies the JDK from amazoncorretto:21-al2-generic and the
operator builds in amazoncorretto:21-alpine, instead of a pinned tarball. Both
keep Temurin's cacerts, so the trusted CAs don't change with the JDK vendor.
Drop the copy of Temurin's cacerts. Corretto's list has none of the
eMudhra/AAA roots, so the trust-store step deletes nothing and stays
as the check.
Comment thread openmetadata-k8s-operator/Dockerfile Resolved
Corretto ships its native libraries stripped, so
--strip-java-debug-attributes gives the runtime --strip-debug did
without objcopy, and the Debian builder with binutils goes away.
The image open-metadata/jena#19 published, on Corretto 21.0.13.1.2.
@gitar-bot

gitar-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk 1 closed / 1 findings

Switching server and operator images to Corretto changes trusted CA roots, which could accept or reject TLS chains across integrations.

Moves the server, quickstart, and k8s operator images to a jlink runtime built from Amazon Corretto 21.0.13.1.2, and adds a smoke-test check that the runtime is 21.0.13.1 or later. The PR description was updated to match the Corretto CA list, resolving the earlier Temurin cacerts mismatch. No open issues found.

✅ 1 closed
✅ Quality: PR description still says the images keep Temurin's cacerts

📄 docker/development/Dockerfile:53-59 📄 openmetadata-k8s-operator/Dockerfile:17-31 📄 docs/decisions/2026-11-18-shipped-jvm-images-run-on-corretto.md:20-30
Commit 79940b1 deletes the COPY --from=eclipse-temurin... cacerts lines from all three Dockerfiles, so the server, quickstart and k8s operator images now trust Corretto's CA list. The PR description still lists "The images keep Temurin's cacerts, so the trusted CA set does not change with the JDK vendor" as a constraint. That is now false, and the new ADR (docs/decisions/2026-11-18-shipped-jvm-images-run-on-corretto.md:27-30) says so: 32 roots that Mozilla trusts are gone (D-TRUST 2020/2023, HARICA 2021, Telekom Security, TrustAsia, SECOM 2024, Telia v3), and an endpoint whose chain ends only at one of them needs a custom truststore. The repo squash-merges, so the description becomes the commit message. As written, it tells reviewers and anyone reading release history that TLS trust is unchanged, when an upgrade can break connections to databases, SSO providers or other connectors that use those CAs. Fix: rewrite the constraint to match the code and the ADR, and add an upgrade or release note about the dropped roots and the custom-truststore workaround.

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 1b12398 into main Nov 18, 2026
56 of 60 checks passed
@mohityadav766
mohityadav766 deleted the chore/corretto-jdk branch November 18, 2026 15:40
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.

3 participants