2024-01-24 13:29:51 +08:00
|
|
|
FROM apache/skywalking-java-agent:9.1.0-java8
|
2023-09-21 10:51:55 +08:00
|
|
|
LABEL authors="yovinchen"
|
2024-01-23 23:44:59 +08:00
|
|
|
|
|
|
|
ARG APP_NAME="service-activity"
|
|
|
|
ARG JAR_FILE="${APP_NAME}.jar"
|
|
|
|
ARG WORK_PATH="/skywalking"
|
|
|
|
|
|
|
|
ENV JAR_FILE=${JAR_FILE}
|
|
|
|
ENV SW_AGENT_NAME=${APP_NAME}
|
2024-02-19 00:07:17 +08:00
|
|
|
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="192.168.31.50:11800"
|
2024-01-23 23:44:59 +08:00
|
|
|
|
|
|
|
RUN rm /skywalking/agent/plugins/apm-cxf-* \
|
|
|
|
/skywalking/agent/plugins/apm-dubbo-* \
|
|
|
|
/skywalking/agent/plugins/apm-grizzly-* \
|
|
|
|
/skywalking/agent/plugins/apm-grpc-* \
|
|
|
|
/skywalking/agent/plugins/apm-h2-* \
|
|
|
|
/skywalking/agent/plugins/apm-hbase-* \
|
|
|
|
/skywalking/agent/plugins/apm-mongodb-* \
|
|
|
|
/skywalking/agent/plugins/apm-netty-socketio-* \
|
|
|
|
/skywalking/agent/plugins/apm-nutz-http-* \
|
|
|
|
/skywalking/agent/plugins/apm-play-* \
|
|
|
|
/skywalking/agent/plugins/apm-rocketmq-* \
|
|
|
|
/skywalking/agent/plugins/micronaut-http-client-* \
|
|
|
|
/skywalking/agent/plugins/micronaut-http-server-* \
|
|
|
|
/skywalking/agent/plugins/websphere-liberty-* \
|
|
|
|
/skywalking/agent/plugins/graphql-* \
|
|
|
|
/skywalking/agent/plugins/motan-* \
|
|
|
|
/skywalking/agent/plugins/nats-* \
|
|
|
|
/skywalking/agent/plugins/sofa-rpc-* \
|
|
|
|
/skywalking/agent/plugins/thrift-*
|
|
|
|
|
|
|
|
COPY ./target/$JAR_FILE $JAR_FILE
|
|
|
|
|
|
|
|
WORKDIR $WORK_PATH
|
|
|
|
ENTRYPOINT exec java -jar $JAR_FILE
|