From da4956230ae605823a24bce7b3e78ef860f2dc9b Mon Sep 17 00:00:00 2001 From: Ravi Singal <62086374+ravisingal@users.noreply.github.com> Date: Fri, 24 Nov 2023 20:17:08 +0530 Subject: [PATCH 1/3] upgrade to version 0.20.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c645b3..56af607 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ 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 && \ 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 From d2c815010e10d00498ae0fc088b0ad69aef5277f Mon Sep 17 00:00:00 2001 From: Ravi Singal Date: Fri, 24 Nov 2023 20:18:47 +0530 Subject: [PATCH 2/3] trigger build From ea00189d8908cb8a4a86756b32c503720ee1eaa5 Mon Sep 17 00:00:00 2001 From: Ravi Singal Date: Fri, 24 Nov 2023 20:25:06 +0530 Subject: [PATCH 3/3] fix vulnerabilities --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 56af607..6ce8166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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