first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
11
base/struts2/s2-066/Dockerfile
Normal file
11
base/struts2/s2-066/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM maven:3.9.9-eclipse-temurin-17 AS builder
|
||||
|
||||
COPY . /usr/src
|
||||
|
||||
RUN cd /usr/src && mvn clean package -DskipTests
|
||||
|
||||
FROM tomcat:9.0.99-jdk17-temurin
|
||||
|
||||
COPY --from=builder /usr/src/target/struts2-s2-066.war /usr/local/tomcat/webapps/ROOT.war
|
||||
|
||||
ENV CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=n"
|
Reference in New Issue
Block a user