Files
.mvn
platformQuickStarts
scripts
webgoat-container
webgoat-images
webgoat-lessons
webgoat-server
webwolf
src
Dockerfile
README.md
pom.xml
start-webwolf.sh
.gitignore
.travis.yml
CREATE_RELEASE.MD
README.MD
buildspec.yml
docker-compose-local.yml
docker-compose-postgres.yml
docker-compose.yml
mvn-debug
mvnw
mvnw.cmd
pom.xml
WebGoat/webwolf/start-webwolf.sh

7 lines
287 B
Bash
Executable File

#!/bin/bash
# Script to start WebWolf, it needs a valid database connection from WebGoat so we wait 8 seconds before starting
# WebWolf application
echo " Waiting for database to be available..."
sleep 8 && java -Djava.security.egd=file:/dev/./urandom -jar /home/webwolf/webwolf.jar $@