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.
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.1_p9 -version
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-alpine-r0)
OpenJDK 64-Bit Server VM (build 15.0.1+9-alpine-r0, mixed mode, sharing)
Build the Dockerfile
using the current version without the revision classifier from here:
# Note 15.0.1_p9 not 15.0.1_p9-r0!
./build-bin/build 15.0.1_p9
Next, verify the built image matches that version:
docker run --rm openzipkin/java:test -version
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-alpine-r0)
OpenJDK 64-Bit Server VM (build 15.0.1+9-alpine-r0, mixed mode, sharing)
To release the image, push a tag matching the arg to build-bin/build
(ex 15.0.1_p9
).
This triggers a GitHub Actions job to push the image.