Skip to content

Commit

Permalink
remove otel versions from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Aug 12, 2024
1 parent 68f9f64 commit d18320b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:17-slim

WORKDIR /app
COPY build/libs/opentelemetry-javaagent-2.6.0.jar /app/opentelemetry-javaagent.jar
COPY build/libs/opentelemetry-exporter-otlp-1.40.0.jar /app/opentelemetry-exporter-otlp.jar
COPY build/libs/opentelemetry-javaagent.jar /app/opentelemetry-javaagent.jar
COPY build/libs/opentelemetry-exporter-otlp.jar /app/opentelemetry-exporter-otlp.jar
COPY build/libs/connector.jar /app/connector.jar
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tasks.register("copyOpenTelemetryJar", Copy::class) {

from(openTelemetry)
into("build/libs")
rename { it -> it.substring(0, it.indexOfLast { it == '-' }) + ".jar"}
}

tasks.build {
Expand Down

0 comments on commit d18320b

Please sign in to comment.