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:
15
java/rmi-codebase/Dockerfile
Normal file
15
java/rmi-codebase/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM openjdk:8u222-jdk
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ENV RMIIP="127.0.0.1"
|
||||
COPY src/ /usr/src/
|
||||
WORKDIR /usr/src
|
||||
|
||||
RUN set -ex \
|
||||
&& javac *.java
|
||||
|
||||
EXPOSE 1099
|
||||
EXPOSE 64000
|
||||
|
||||
CMD ["bash", "-c", "java -Djava.rmi.server.hostname=${RMIIP} -Djava.rmi.server.useCodebaseOnly=false -Djava.security.policy=client.policy RemoteRMIServer"]
|
Reference in New Issue
Block a user