OpenJDK with Elastic APM java agent
Jeff’s OpenJDK (8/11) docker image with Elastic APM java agent.
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
-
Change the makefile properties to set a new Java version or Elastic APM version.
-
Merge your changes to the master branch.
-
A GitHub actions job should release the new image.