Skip to content

Commit

Permalink
fix: integrated opentelemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Nov 30, 2023
1 parent 34db68b commit 93c13d6
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 @@ -17,6 +17,7 @@ RUN java -Djarmode=layertools -jar application.jar extract
# AppInsight installation stage
#
FROM --platform=amd64 ghcr.io/pagopa/docker-base-springboot-openjdk11:v1.0.1@sha256:bbbe948e91efa0a3e66d8f308047ec255f64898e7f9250bdb63985efd3a95dbf
ADD --chown=spring:spring https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v1.25.1/opentelemetry-javaagent.jar .
COPY --chown=spring:spring --from=bootimg dependencies/ ./
COPY --chown=spring:spring --from=bootimg snapshot-dependencies/ ./
# https://github.com/moby/moby/issues/37965#issuecomment-426853382
Expand All @@ -26,5 +27,4 @@ COPY --chown=spring:spring --from=bootimg application/ ./

EXPOSE 8080



ENTRYPOINT ["java","-javaagent:opentelemetry-javaagent.jar","--enable-preview","org.springframework.boot.loader.JarLauncher"]

0 comments on commit 93c13d6

Please sign in to comment.