Skip to content

A small Docker image based on azul/zulu-openjdk-alpine

License

Notifications You must be signed in to change notification settings

llinder/docker-java

 
 

Repository files navigation

Gitter chat Build Status

ghcr.io/openzipkin/java is a minimal OpenJDK Alpine Linux image.

GitHub Container Registry: ghcr.io/openzipkin/java includes:

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.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)

Release process

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.

About

A small Docker image based on azul/zulu-openjdk-alpine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 83.4%
  • Dockerfile 16.6%