We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db759ab + 26ac69f commit 7dc65e2Copy full SHA for 7dc65e2
Dockerfile
@@ -3,10 +3,10 @@ FROM alpine:3.22 AS tmp
3
RUN --mount=type=cache,target=/var/cache/apk \
4
apk add curl
5
6
-ENV VERSION=1.0.1
+ENV VERSION=1.4.0
7
ENV JAR=jmx_prometheus_javaagent-$VERSION.jar
8
9
-RUN curl -L https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/$VERSION/$JAR -o /lib/$JAR
+RUN curl -L https://github.com/prometheus/jmx_exporter/releases/download/$VERSION/$JAR -o /lib/$JAR
10
11
FROM alpine:3.22
12
COPY --from=tmp /lib /lib
0 commit comments