File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
services-examples-parent/services-examples-runner Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 11FROM openjdk:11
22
33ARG EXECUTABLE_JAR
4- ENV YOURKIT_AGENT "-agentpath:/usr/local/YourKit-JavaProfiler-2018.04/bin/linux-x86-64/libyjpagent.so=port=10001,listen=all"
54
65WORKDIR /opt/scalecube
76
@@ -22,11 +21,6 @@ ENV DEFAULT_OOM_OPTS="-XX:+HeapDumpOnOutOfMemoryError \
2221-XX:HeapDumpPath=services-benchmarks-oom.hprof \
2322-XX:+UseGCOverheadLimit"
2423
25- # yourkit profile
26- RUN wget https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2018.04-docker.zip -P /tmp/ && \
27- unzip /tmp/YourKit-JavaProfiler-2018.04-docker.zip -d /usr/local && \
28- rm /tmp/YourKit-JavaProfiler-2018.04-docker.zip
29-
3024COPY target/lib lib
3125COPY target/${EXECUTABLE_JAR}.jar benchmarks.jar
3226
@@ -41,6 +35,5 @@ $DEFAULT_JAVA_OPTS \
4135$JAVA_OPTS \
4236$DEFAULT_JMX_OPTS \
4337$DEFAULT_OOM_OPTS \
44- $YOURKIT_AGENT \
4538-Dlog4j.configurationFile=log4j2-benchmarks.xml \
4639-cp benchmarks.jar $PROGRAM_ARGS
Original file line number Diff line number Diff line change 11FROM openjdk:11
22
33ARG EXECUTABLE_JAR
4- ENV YOURKIT_AGENT "-agentpath:/usr/local/YourKit-JavaProfiler-2018.04/bin/linux-x86-64/libyjpagent.so=port=10001,listen=all"
54
65WORKDIR /opt/scalecube
76
@@ -22,11 +21,6 @@ ENV DEFAULT_OOM_OPTS="-XX:+HeapDumpOnOutOfMemoryError \
2221-XX:HeapDumpPath=services-examples-oom.hprof \
2322-XX:+UseGCOverheadLimit"
2423
25- # yourkit profile
26- RUN wget https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2018.04-docker.zip -P /tmp/ && \
27- unzip /tmp/YourKit-JavaProfiler-2018.04-docker.zip -d /usr/local && \
28- rm /tmp/YourKit-JavaProfiler-2018.04-docker.zip
29-
3024COPY target/lib lib
3125COPY target/${EXECUTABLE_JAR}.jar app.jar
3226
@@ -41,6 +35,5 @@ $DEFAULT_JAVA_OPTS \
4135$JAVA_OPTS \
4236$DEFAULT_JMX_OPTS \
4337$DEFAULT_OOM_OPTS \
44- $YOURKIT_AGENT \
4538-Dlog4j.configurationFile=log4j2.xml \
4639-jar app.jar $PROGRAM_ARGS
You can’t perform that action at this time.
0 commit comments