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:
21
base/apache-cxf/3.2.14/Dockerfile
Normal file
21
base/apache-cxf/3.2.14/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM maven:3.9.9-eclipse-temurin-8 AS builder
|
||||
|
||||
LABEL maintainer="ReaJason <reajason1225@gmail.com>"
|
||||
|
||||
COPY ./ /usr/src
|
||||
|
||||
RUN set -ex \
|
||||
&& cd /usr/src \
|
||||
&& mvn clean package -DskipTests
|
||||
|
||||
FROM openjdk:8u342-jre
|
||||
|
||||
LABEL maintainer="ReaJason <reajason1225@gmail.com>"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /usr/src/target/*.jar /app/cxf.jar
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD java $JAVA_OPTS -jar /app/cxf.jar
|
Reference in New Issue
Block a user