Move to different base image for Java
This way we can also support arm/v7
This commit is contained in:
6
docker/start.sh
Normal file → Executable file
6
docker/start.sh
Normal file → Executable file
@ -16,11 +16,11 @@ java \
|
||||
--add-opens java.desktop/java.awt.font=ALL-UNNAMED \
|
||||
--add-opens java.base/sun.nio.ch=ALL-UNNAMED \
|
||||
--add-opens java.base/java.io=ALL-UNNAMED \
|
||||
-jar webgoat.jar --webgoat.build.version="$1" --server.address=0.0.0.0 > webgoat.log &
|
||||
-jar webgoat.jar --server.address=0.0.0.0 > webgoat.log &
|
||||
|
||||
echo "Starting WebWolf..."
|
||||
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webwolf.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webwolf.log &
|
||||
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webwolf.jar --server.address=0.0.0.0 > webwolf.log &
|
||||
|
||||
echo "Browse to http://localhost to get started" >> webgoat.log
|
||||
|
||||
tail -300f webgoat.log
|
||||
exec tail -300f webgoat.log
|
||||
|
Reference in New Issue
Block a user