Skip to content

Commit

Permalink
fix vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisingal committed Nov 24, 2023
1 parent d2c8150 commit ea00189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM eclipse-temurin:11-jre-alpine

ENV JMX_EXPORTER_VERSION=0.20.0

RUN mkdir -p /opt/jmx_prometheus_httpserver/config && \
RUN apk upgrade && \
mkdir -p /opt/jmx_prometheus_httpserver/config && \
wget -q -O /opt/jmx_prometheus_httpserver/jmx_prometheus_httpserver.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/${JMX_EXPORTER_VERSION}/jmx_prometheus_httpserver-${JMX_EXPORTER_VERSION}.jar

COPY collect-all.yml /opt/jmx_prometheus_httpserver/config/collect-all.yml
Expand Down

0 comments on commit ea00189

Please sign in to comment.