forked from WebGoat/WebGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tagging latest Docker build with Travis as well
- Loading branch information
Showing
4 changed files
with
43 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Setup a Linux box headless which will start WebGoat and WebWolf helpful image to give away during training | ||
|
||
Vagrant.configure(2) do |config| | ||
config.vm.box = "ubuntu/trusty64" | ||
config.vm.network :forwarded_port, guest: 8080, host: 8080 | ||
config.vm.network :forwarded_port, guest: 8081, host: 8081 | ||
config.vm.provider "virtualbox" do |vb| | ||
vb.gui = false | ||
vb.memory = "4096" | ||
vb.cpus = 2 | ||
vb.name = "WebGoat-Training" | ||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"] | ||
end | ||
config.vm.provider "vmware_fusion" do |vf| | ||
vf.gui = false | ||
vf.vmx["memsize"] = 4096 | ||
vf.vmx["numvcpus"] = 2 | ||
vf.vmx["displayname"] = "WebGoat-Training" | ||
end | ||
|
||
config.vm.provision "shell", inline: <<-SHELL | ||
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M5/webgoat-server-8.0.0.M6.jar | ||
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M5/webwolf-8.0.0.M6.jar | ||
sudo add-apt-repository ppa:openjdk-r/ppa | ||
sudo apt-get update | ||
sudo apt-get install openjdk-8-jre -y | ||
SHELL | ||
|
||
config.vm.provision "shell", run: "always", privileged: false, inline: <<-SHELL | ||
java -jar webgoat-server-8.0.0.M6.jar & | ||
sleep 40s | ||
java -jar webwolf-8.0.0.M6.jar | ||
SHELL | ||
|
||
end |
This file was deleted.
Oops, something went wrong.