diff --git a/Dockerfile b/Dockerfile index 9c645b3..6ce8166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM eclipse-temurin:11-jre-alpine -ENV JMX_EXPORTER_VERSION=0.19.0 +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