From d365ebc8d66bdcd5bfe3f8123fa9af03cb23ad84 Mon Sep 17 00:00:00 2001 From: jzw Date: Fri, 4 Mar 2022 17:34:00 +0800 Subject: [PATCH] update log4j2 configuration file name in dockerfile (#238) --- resources/rootfs/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/rootfs/Dockerfile b/resources/rootfs/Dockerfile index 51eadf165..62afc4210 100644 --- a/resources/rootfs/Dockerfile +++ b/resources/rootfs/Dockerfile @@ -13,11 +13,11 @@ ARG SERVER3 COPY ./ /easeagent/ WORKDIR /easeagent -RUN /bin/rewrite-settings.sh && cd /easeagent/ && mvn clean package -am -pl build && cd build/target/ && jar xf easeagent.jar log4j2.xml +RUN /bin/rewrite-settings.sh && cd /easeagent/ && mvn clean package && cd build/target/ && jar xf easeagent.jar easeagent-log4j2.xml FROM alpine:latest RUN apk --no-cache add curl wget COPY --from=builder /easeagent/build/target/easeagent-dep.jar /easeagent-volume/easeagent.jar -COPY --from=builder /easeagent/build/target/log4j2.xml /easeagent-volume/log4j2.xml \ No newline at end of file +COPY --from=builder /easeagent/build/target/easeagent-log4j2.xml /easeagent-volume/easeagent-log4j2.xml