Skip to content

Commit

Permalink
Update to GA agent distro
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz authored Sep 4, 2024
1 parent 8697ac5 commit 73e6953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY . .
RUN ./mvnw package

# Download /build/elastic-otel-javaagent.jar
ARG ELASTIC_OTEL_JAVAAGENT_VERSION=0.3.2
ARG ELASTIC_OTEL_JAVAAGENT_VERSION=1.0.0
RUN wget --tries=5 -qO- https://repo1.maven.org/maven2/co/elastic/otel/elastic-otel-javaagent/${ELASTIC_OTEL_JAVAAGENT_VERSION}/elastic-otel-javaagent-${ELASTIC_OTEL_JAVAAGENT_VERSION}.jar > ./elastic-otel-javaagent.jar

FROM eclipse-temurin:21-jre-ubi9-minimal
Expand All @@ -20,4 +20,4 @@ COPY --from=build /build/elastic-otel-javaagent.jar /
ENV OTEL_SERVICE_NAME=cpu-burner-otel
ENV ELASTIC_OTEL_UNIVERSAL_PROFILING_INTEGRATION_ENABLED=true

CMD ["java","-javaagent:./elastic-otel-javaagent.jar", "-jar", "./cpu-burner.jar"]
CMD ["java","-javaagent:./elastic-otel-javaagent.jar", "-jar", "./cpu-burner.jar"]

0 comments on commit 73e6953

Please sign in to comment.