-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dominik Rosiek
committed
Oct 12, 2020
1 parent
5d12c0f
commit dc0d180
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
vagrant/k8s/application_metrics/jmx/jmxexporter/docker/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM tomcat:jdk8-adoptopenjdk-openj9 | ||
RUN apt-get update && apt-get install -y wget | ||
RUN wget https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.13.0/jmx_prometheus_javaagent-0.13.0.jar -O /jmx_prometheus_javaagent-0.13.0.jar | ||
RUN apt-get update && apt-get install -y curl | ||
RUN curl -L https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.13.0/jmx_prometheus_javaagent-0.13.0.jar -o /jmx_prometheus_javaagent-0.13.0.jar | ||
ENV CATALINA_OPTS "-javaagent:/jmx_prometheus_javaagent-0.13.0.jar=8888:/config.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM tomcat:jdk8-adoptopenjdk-openj9 | ||
RUN apt-get update && apt-get install -y wget | ||
RUN wget https://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -O /jolokia-jvm-1.6.2-agent.jar | ||
RUN apt-get update && apt-get install -y curl | ||
RUN curl -L https://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -o /jolokia-jvm-1.6.2-agent.jar | ||
COPY entrypoint.sh /entrypoint.sh | ||
CMD ["/entrypoint.sh"] |
4 changes: 2 additions & 2 deletions
4
vagrant/k8s/application_metrics/jmx/jolokia/docker/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM tomcat:jdk8-adoptopenjdk-openj9 | ||
RUN apt-get update && apt-get install -y wget | ||
RUN wget https://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -O /jolokia-jvm-1.6.2-agent.jar | ||
RUN apt-get update && apt-get install -y curl | ||
RUN curl -L https://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -o /jolokia-jvm-1.6.2-agent.jar | ||
ENV CATALINA_OPTS "-javaagent:/jolokia-jvm-1.6.2-agent.jar" |