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:
16
base/fastjson/1.2.45/Dockerfile
Normal file
16
base/fastjson/1.2.45/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM maven:3-jdk-8 AS builder
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY ./ /usr/src/
|
||||
WORKDIR /usr/src
|
||||
|
||||
RUN set -ex \
|
||||
&& mvn package
|
||||
|
||||
FROM openjdk:8u102-jre
|
||||
|
||||
COPY --from=builder /usr/src/target/fastjsondemo-1.0.0-SNAPSHOT.jar /usr/src/fastjsondemo.jar
|
||||
EXPOSE 8090
|
||||
|
||||
CMD [ "java", "-Dserver.address=0.0.0.0", "-Dserver.port=8090", "-jar", "/usr/src/fastjsondemo.jar" ]
|
Reference in New Issue
Block a user