Skip to content

Commit

Permalink
build: JAVA_OPTS Argument 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
sukkyun2 committed Sep 25, 2023
1 parent 5b650ef commit b1da1ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ COPY --from=build ${EXTRACTED}/spring-boot-loader/ ./
COPY --from=build ${EXTRACTED}/snapshot-dependencies/ ./
COPY --from=build ${EXTRACTED}/application/ ./

ARG JAVA_OPTS="-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME} -Dpinpoint.profiler.profiles.active=${SPRING_PROFILES}"

RUN echo ${JAVA_OPTS}

ENTRYPOINT ["sh", "-c", "java","${JAVA_OPTS}","org.springframework.boot.loader.JarLauncher"]

0 comments on commit b1da1ae

Please sign in to comment.