Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Oct 9, 2024
1 parent 784ffda commit f5e5c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5e5c26

Please sign in to comment.