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:
14
base/spring/spring-data-commons/2.0.5/Dockerfile
Normal file
14
base/spring/spring-data-commons/2.0.5/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
|
||||
COPY ./ /usr/src
|
||||
|
||||
RUN cd /usr/src; \
|
||||
mvn clean install
|
||||
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY --from=builder /usr/src/target/spring-data-web-example-2.0.0.RELEASE.jar /spring-data-web-example-2.0.0.RELEASE.jar
|
||||
|
||||
CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/spring-data-web-example-2.0.0.RELEASE.jar"]
|
Reference in New Issue
Block a user