Skip to content

Commit

Permalink
Dockerfile changes to work with new mvn assembly configuration for lo…
Browse files Browse the repository at this point in the history
…g4shell-server

Fixes #377
  • Loading branch information
Eric committed Jan 21, 2022
1 parent be674dd commit fb904b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log4shell-goof/log4shell-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM maven:3-jdk-8-slim as build
COPY pom.xml pom.xml
COPY src src
RUN --mount=target=$HOME/.m2,type=cache mvn clean compile assembly:single
RUN --mount=target=$HOME/.m2,type=cache mvn clean package

FROM openjdk:8 as ldap
COPY --from=build target/*.jar /server.jar
COPY --from=build target/log4shell-server-*-jar-with-dependencies.jar /server.jar
EXPOSE 8000
EXPOSE 9999

Expand Down

0 comments on commit fb904b6

Please sign in to comment.