Skip to content

Commit 7dc65e2

Browse files
authored
Merge pull request #4 from utilitywarehouse/update-image-location
Download from GH releases
2 parents db759ab + 26ac69f commit 7dc65e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ FROM alpine:3.22 AS tmp
33
RUN --mount=type=cache,target=/var/cache/apk \
44
apk add curl
55

6-
ENV VERSION=1.0.1
6+
ENV VERSION=1.4.0
77
ENV JAR=jmx_prometheus_javaagent-$VERSION.jar
88

9-
RUN curl -L https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/$VERSION/$JAR -o /lib/$JAR
9+
RUN curl -L https://github.com/prometheus/jmx_exporter/releases/download/$VERSION/$JAR -o /lib/$JAR
1010

1111
FROM alpine:3.22
1212
COPY --from=tmp /lib /lib

0 commit comments

Comments
 (0)