ghcr.io/openzipkin/java
is a minimal OpenJDK Alpine Linux image.
GitHub Container Registry: ghcr.io/openzipkin/java includes:
master
tag: latest commitMAJOR.MINOR.PATCH
tag: release corresponding to a Current OpenJDK Version
Tags ending in -jre
include only a JRE where unqualified tags include the full JDK, Maven, and a
few build utilities.
Using this image
This is an internal base layer primarily used in zipkin.
To try the image, run the java -version
command:
docker run --rm ghcr.io/openzipkin/java:15.0.6_p5-r0 -version
openjdk version "15.0.6" 2022-01-18
OpenJDK Runtime Environment (build 15.0.6+5-alpine-r0)
OpenJDK 64-Bit Server VM (build 15.0.6+5-alpine-r0, mixed mode)
Release process
Build the Dockerfile
using the current version without the revision classifier from here:
# Note 15.0.6_p5 not 15.0.6_p5-r0!
./build-bin/build 15.0.6_p5
Next, verify the built image matches that version:
docker run --rm openzipkin/java:test -version
openjdk version "15.0.6" 2022-01-18
OpenJDK Runtime Environment (build 15.0.6+5-alpine-r0)
OpenJDK 64-Bit Server VM (build 15.0.6+5-alpine-r0, mixed mode, sharing)
To release the image, push a tag matching the arg to build-bin/build
(ex 15.0.6_p5
).
This triggers a GitHub Actions job to push the image.