Updating the Docker image

This commit is contained in:
Nanne Baars
2016-11-15 20:42:30 +01:00
parent dbcd5cce3a
commit 5dc1fc8655
2 changed files with 24 additions and 8 deletions

View File

@ -1,5 +1,6 @@
FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
RUN cd /root; mkdir -p .webgoat
ADD webgoat-container-8.0-SNAPSHOT.war webgoat.jar
RUN sh -c 'touch /webgoat.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/webgoat.jar"]