Commit 8acb686b authored by liaozan's avatar liaozan 🏀

Update Dockerfile

parent 6d314484
...@@ -30,11 +30,11 @@ ENV PROFILE=${PROFILE} \ ...@@ -30,11 +30,11 @@ ENV PROFILE=${PROFILE} \
SW_AGENT_TRACE_IGNORE_PATH='OPTIONS:/**,GET:/actuator/**,Mysql/**,HikariCP/**,Redisson/PING' SW_AGENT_TRACE_IGNORE_PATH='OPTIONS:/**,GET:/actuator/**,Mysql/**,HikariCP/**,Redisson/PING'
ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \ ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \
-XX:InitialRAMPercentage=70 -XX:MaxRAMPercentage=70 \ -XX:InitialRAMPercentage=60 -XX:MaxRAMPercentage=60 \
-XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags \ -XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags \
-XX:CompressedClassSpaceSize=64M -XX:MaxMetaspaceSize=300m \ -XX:CompressedClassSpaceSize=64M -XX:MaxMetaspaceSize=300m \
-XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=30 \ -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=30 \
-Xlog:gc*=info,gc+heap=debug,gc+age=trace:/data/logs/gc/gc-%t.log:time:filecount=20,filesize=20m \ -Xlog:gc*=debug:/data/logs/gc/gc-%t.log:time:filecount=20,filesize=20m \
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh" -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh"
ENTRYPOINT ["/app/entrypoint.sh"] ENTRYPOINT ["/app/entrypoint.sh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment