Skip to content

Commit

Permalink
Download from github instead of maven
Browse files Browse the repository at this point in the history
  • Loading branch information
crobert-1 committed Jul 11, 2023
1 parent 1167ab4 commit 98735e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/otelcol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ RUN if [[ "$ARCH" = "amd64" || "$ARCH" = "arm64" ]]; then \

FROM alpine:3.17.0 AS jmx
ARG JMX_METRIC_GATHERER_RELEASE
RUN JMX_METRICS_JAR=opentelemetry-jmx-metrics-${JMX_METRIC_GATHERER_RELEASE}.jar && \
URL=https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-jmx-metrics/${JMX_METRIC_GATHERER_RELEASE}/$JMX_METRICS_JAR && \
RUN JMX_METRICS_JAR=opentelemetry-jmx-metrics.jar && \
URL=https://github.com/open-telemetry/opentelemetry-java-contrib/releases/download/v${JMX_METRIC_GATHERER_RELEASE}/${JMX_METRICS_JAR} && \
cd /tmp && wget "$URL" && mv $JMX_METRICS_JAR opentelemetry-java-contrib-jmx-metrics.jar;

FROM ${DOCKER_REPO}/debian:11.5 as journalctl
Expand Down

0 comments on commit 98735e7

Please sign in to comment.