From 855dff75fcc21d8f6837399d0114bee71736d6a7 Mon Sep 17 00:00:00 2001 From: Christophe Tafani-Dereeper Date: Tue, 18 Jun 2024 14:29:00 +0200 Subject: [PATCH] Bump dd-trace-java to 1.35.0 --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d4fb53..5c1b2b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,13 +12,12 @@ WORKDIR /app COPY --from=builder /home/gradle/src/build/libs/*.jar /app/spring-boot-application.jar # Install Datadog agent -RUN wget -O dd-java-agent.jar https://github.com/DataDog/dd-trace-java/releases/download/v1.33.0/dd-java-agent.jar && \ - echo "4b418fff108b3464c5f09a138d9987e0972636d8f3bcedbae087a05a3794fde6 dd-java-agent.jar" > SHA256SUMS && \ +RUN wget -O dd-java-agent.jar https://github.com/DataDog/dd-trace-java/releases/download/v1.35.0/dd-java-agent.jar && \ + echo "14f6c325679c7f11db6bc3dc7baba98abd005c1865bd9c61a2a8d560f1a65b26 dd-java-agent.jar" > SHA256SUMS && \ sha256sum -c SHA256SUMS # Utility RUN apk add curl wget RUN mkdir -p /tmp/files && echo "hello" > /tmp/files/hello.txt && echo "world" > /tmp/files/foo.txt -#CMD ["sh", "-c", "export INSTANCE_IP=$(curl http://169.254.169.254/latest/meta-data/local-ipv4); export DD_TRACE_AGENT_URL=http://$INSTANCE_IP:8126; java -javaagent:/app/dd-java-agent.jar -jar /app/spring-boot-application.jar"] CMD ["java", "-javaagent:/app/dd-java-agent.jar", "-jar", "/app/spring-boot-application.jar"]