Skip to content

[java-docker] Add multi-platform Java 25 runtime with Docker CLI - #4

Merged
fpapon merged 1 commit into
yupiik:mainfrom
rmannibucau:dev/java-docker-cli
Nov 13, 2026
Merged

fpapon merged 1 commit into
yupiik:mainfrom
rmannibucau:dev/java-docker-cli

Conversation

@rmannibucau

Copy link
Copy Markdown
Contributor

Summary

Add a dedicated ossyupiik/java-docker base for Java applications that control an external Docker Engine, without changing the existing Zulu images or their release workflow.

  • Java 25 JRE from the official Eclipse Temurin Alpine image.
  • Copy only /usr/local/bin/docker from the official Docker CLI image to /usr/bin/docker; no Docker daemon, DinD entrypoint, plugins or provisioning script.
  • Pin both inputs to multi-platform index digests and support linux/amd64 and linux/arm64 under one published reference.
  • Default to UID/GID 10001:10001, HOME=/tmp, no entrypoint and java --version; support a read-only root filesystem with writable /tmp.
  • Add native AMD64/ARM64 CI smoke tests for Java/Docker execution, metadata, CA trust and HTTPS.
  • Publish an index with provenance and SBOM only for upstream release tags such as java-docker/25.0.5-alpine3.24-docker29.9.2, after both native tests pass. No publishing from PRs, main pushes or manual runs.
  • Document the security boundary, local validation and release prerequisites.

This is a dispatcher/runtime base, not an agent development-toolchain image: no Maven, gh, javac or Docker plugins are included. Docker socket access remains an explicitly provisioned, host-administration capability.

Validation performed locally

  • AMD64 build and restricted smoke suite: passed (Java 25.0.5+8, Docker 29.9.2).
  • Java CA store: 118 trusted issuers; HTTPS request to https://example.com returned 200.
  • ARM64 image assembly: passed.
  • Combined AMD64/ARM64 OCI archive: built successfully without emulation; verified both platform descriptors, non-root metadata and the actual ELF architectures of the Docker CLI, Java launcher and libjvm.
  • Actionlint 1.7.7, shell syntax and git diff --check: passed.

Native ARM64 execution is not available on the local host and must be confirmed by the included native ARM64 CI job. No Docker Engine socket was mounted, no image/tag was published, and no vulnerability or attestation audit is claimed.

Release prerequisites

Provision ossyupiik/java-docker on Docker Hub and ensure the existing DOCKERHUB_USERNAME / DOCKERHUB_TOKEN secrets can publish to it. After merge and successful native CI, push a matching release tag, then use the reported multi-platform index digest in consumers such as Jib.

@fpapon
fpapon merged commit 38d9bca into yupiik:main Nov 13, 2026
3 checks passed
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