View on GitHub

openjdk-jre-apm

Jeff's OpenJDK docker image with Elastic APM java agent

OpenJDK with Elastic APM java agent

Jeff’s OpenJDK (8/11) docker image with Elastic APM java agent.

docker pulls docker stars

Docker Hub

Elastic APM java agent reference

How to use the docker image

Extend your image from our image.

FROM mrjeffapp/openjdk-jre-apm:11-1.27.0

ENV JAVA_OPTS=""

CMD exec java -Djava.security.egd=file:/dev/./urandom -jar -javaagent:elastic-apm-agent.jar $JAVA_OPTS micro-service.jar

How to build a new image

  1. Change the makefile properties to set a new Java version or Elastic APM version.

  2. Merge your changes to the master branch.

  3. A GitHub actions job should release the new image.