Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeff-labs/openjdk-jre-apm
Jeff's OpenJDK docker image with Elastic APM java agent
https://github.com/jeff-labs/openjdk-jre-apm
docker docker-container docker-image open-source
Last synced: 4 days ago
JSON representation
Jeff's OpenJDK docker image with Elastic APM java agent
- Host: GitHub
- URL: https://github.com/jeff-labs/openjdk-jre-apm
- Owner: jeff-labs
- License: apache-2.0
- Created: 2019-01-25T13:23:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T14:56:47.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T17:59:20.296Z (over 1 year ago)
- Topics: docker, docker-container, docker-image, open-source
- Language: Makefile
- Homepage: https://jeff-labs.github.io/openjdk-jre-apm/
- Size: 144 KB
- Stars: 4
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenJDK with Elastic APM java agent
Jeff's OpenJDK (8/11) docker image with Elastic APM java agent.![docker pulls](https://img.shields.io/docker/pulls/mrjeffapp/openjdk-jre-apm.svg?style=plastic)
![docker stars](https://img.shields.io/docker/stars/mrjeffapp/openjdk-jre-apm.svg?style=flat)[Docker Hub](https://hub.docker.com/r/mrjeffapp/openjdk-jre-apm)
[Elastic APM java agent reference](https://www.elastic.co/guide/en/apm/agent/java/current/index.html)
## How to use the docker image
Extend your image from our image.
```Dockerfile
FROM mrjeffapp/openjdk-jre-apm:11-1.27.0ENV 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.