for now Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ COPY --chown=app ./gradle/ ./gradle
|
||||
COPY --chown=app ./gradlew ./build.gradle ./settings.gradle ./
|
||||
COPY --chown=app ./src ./src
|
||||
|
||||
RUN curl -OL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar
|
||||
# RUN curl -OL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar
|
||||
|
||||
# Build the production package
|
||||
RUN ./gradlew clean build -x test
|
||||
@@ -26,7 +26,7 @@ RUN useradd -m app
|
||||
USER app
|
||||
|
||||
COPY --chown=app --from=build /usr/src/app/build/libs/*-SNAPSHOT.jar /usr/app/config.jar
|
||||
COPY --chown=app --from=build /usr/src/app/opentelemetry-javaagent.jar /usr/app/opentelemetry-javaagent.jar
|
||||
# COPY --chown=app --from=build /usr/src/app/opentelemetry-javaagent.jar /usr/app/opentelemetry-javaagent.jar
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8888/actuator/health || exit 1
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@ info:
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.netflix.discovery: off
|
||||
root: WARN
|
||||
com.netflix.discovery: OFF
|
||||
dev.mars3142: DEBUG
|
||||
|
||||
management:
|
||||
endpoint:
|
||||
|
||||
Reference in New Issue
Block a user