Skip to content

Commit

Permalink
update log4j2 configuration file name in dockerfile (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oseenix authored Mar 4, 2022
1 parent da06385 commit d365ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
COPY --from=builder /easeagent/build/target/easeagent-log4j2.xml /easeagent-volume/easeagent-log4j2.xml

0 comments on commit d365ebc

Please sign in to comment.