diff --git a/Dockerfile b/Dockerfile index 9ceb766..21c40e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.m2,sharing=locked \ cp target/*.jar /opt/application.jar RUN --mount=type=bind,target=. \ java -Djarmode=tools -jar /opt/application.jar extract --layers --launcher --destination /opt/extracted >/dev/null 2>&1 || \ - java -Djarmode=layertools -jar /opt/application.jar extract --destination /opt/extracted >/dev/null && \ + java -Djarmode=layertools -jar /opt/application.jar extract --destination /opt/extracted && \ curl -sL -o /opt/entrypoint.sh https://github.com/making/dockerfile-utils/raw/refs/heads/main/entrypoint.sh && \ curl -sL -o /opt/class_counter.sh https://github.com/making/dockerfile-utils/raw/refs/heads/main/class_counter.sh && \ bash /opt/class_counter.sh /opt/extracted/application /opt/extracted/dependencies > /opt/class_count diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e83dc06..4785532 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -19,7 +19,7 @@ management.opentelemetry.resource-attributes.git.commit.id.abbrev=${git.commit.i management.opentelemetry.resource-attributes.hostname=${HOSTNAME:N/A} management.opentelemetry.resource-attributes.spring.boot.version=${build.spring.boot.version:N/A} management.opentelemetry.resource-attributes.spring.framework.version=${build.spring.framework.version:N/A} -management.otlp.logs.compression=gzip +management.otlp.logging.compression=gzip management.otlp.tracing.compression=gzip management.tracing.sampling.probability=1.0 server.compression.enabled=true