xlcs/xlcs-parent/service/service-order/Dockerfile

36 lines
1.2 KiB
Docker
Raw Permalink Normal View History

FROM apache/skywalking-java-agent:9.1.0-java8
2023-10-13 10:24:32 +08:00
LABEL authors="yovinchen"
ARG APP_NAME="service-order"
ARG JAR_FILE="${APP_NAME}.jar"
ARG WORK_PATH="/skywalking"
ENV JAR_FILE=${JAR_FILE}
ENV SW_AGENT_NAME=${APP_NAME}
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="192.168.31.50:11800"
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