首页 > 其他分享 >dockfile2

dockfile2

时间:2023-03-02 17:24:30浏览次数:37  
标签:javaagent dockfile2 jar AGENT XX skywalking starter

# spring-boot skywalking 增强镜像 acicn/jdk:8-pagoda  acicn/jdk:11-pagoda
# tomcat skywalking 增强镜像 acicn/tomcat:8-pagoda
FROM acicn/jdk:8-pagoda
ENV SW_AGENT_NAME supplyGoods::diep-dayhandle-ms
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES skywalking-server.skywalking:11800
ENV JAVA_AGENT "-Dskywalking.plugin.jdkthreading.threading_class_prefixes=com.pagoda.warehouse.sell.rpc"
ENV SW_AGENT_TRACE_IGNORE_PATH swagger-resources/**,/health/check,/healthz,Zookeeper/ping,/v1/health/service/default,/notifications/v2
ENV JAVA_OPTS_TRACING "-javaagent:/opt/lib/skywalking-agent/skywalking-agent.jar"
WORKDIR /app
ENV JAVA_OPTS_METRICS "-javaagent:/opt/lib/jmx_prometheus_javaagent.jar=60030:/opt/etc/jmx_prometheus_javaagent/simple.yml"
ENV JAVA_OPTS "-server -XX:MaxRAMPercentage=80.0 -XX:MinRAMPercentage=80.0 -Djava.security.egd=file:/dev/./urandom -XX:+UseG1GC -XX:MaxGCPauseMillis=100"
ADD ms-starter/target/ms-starter.jar starter.jar
ENV MINIT_MAIN "java-wrapper -jar starter.jar"

标签:javaagent,dockfile2,jar,AGENT,XX,skywalking,starter
From: https://www.cnblogs.com/zeenzhou/p/17172497.html

相关文章