Files
.mvn
config
docker
docs
platformQuickStarts
scripts
webgoat-container
webgoat-images
webgoat-integration-tests
webgoat-lessons
webgoat-server
webwolf
src
Dockerfile
README.md
pom.xml
start-webwolf.sh
.gitignore
.travis.yml
COPYRIGHT.txt
CREATE_RELEASE.MD
LICENSE.txt
README.MD
buildspec.yml
docker-compose-local.yml
docker-compose-postgres.yml
docker-compose.yml
goat-with-reverseproxy.yaml
mvn-debug
mvnw
mvnw.cmd
pmd-ruleset.xml
pom.xml
project-suppression.xml
WebGoat/webwolf/Dockerfile

16 lines
415 B
Docker

FROM openjdk:11.0.1-jre-slim-stretch
ARG webwolf_version=v8.0.0-SNAPSHOT
RUN \
apt-get update && apt-get install && \
useradd --home-dir /home/webwolf --create-home -U webwolf
USER webwolf
COPY target/webwolf-${webwolf_version}.jar /home/webwolf/webwolf.jar
COPY start-webwolf.sh /home/webwolf
EXPOSE 9090
ENTRYPOINT ["/home/webwolf/start-webwolf.sh"]
CMD ["--server.port=9090", "--server.address=0.0.0.0"]