Skip to content

Commit

Permalink
Merge pull request #378 from ericsmalling/main
Browse files Browse the repository at this point in the history
Dockerfile fix for new mvn assembly configuration for log4shell-server
  • Loading branch information
ericsmalling authored Jan 25, 2022
2 parents be674dd + fb904b6 commit 3849cf7
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 3849cf7

Please sign in to comment.