Skip to content

Commit

Permalink
Fix intellij link and use master branch for vagrant images in WebGoat…
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kvist committed Nov 20, 2016
1 parent faeb5b1 commit 1347c8b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions webgoat-images/vagrant-developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ Vagrant.configure(2) do |config|

config.vm.provision :shell, privileged:false, inline: <<-SHELL
echo -e "Cloning the WebGoat container repository"
git clone https://github.com/WebGoat/WebGoat.git
git clone -b master https://github.com/WebGoat/WebGoat.git
echo -e "Cloning the WebGoat Lessons repository"
git clone https://github.com/WebGoat/WebGoat-Lessons.git
git clone -b master https://github.com/WebGoat/WebGoat-Lessons.git
SHELL

config.vm.provision 'shell' do |s|
s.inline = "echo Finished provisioning, login with user vagrant pass vagrant"
end

end

5 changes: 3 additions & 2 deletions webgoat-images/vagrant-users/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Vagrant.configure(2) do |config|

config.vm.provision :shell, inline: <<-SHELL
echo -e "Cloning the WebGoat container repository"
git clone https://github.com/WebGoat/WebGoat.git
git clone -b master https://github.com/WebGoat/WebGoat.git
echo -e "Cloning the WebGoat Lessons repository"
git clone https://github.com/WebGoat/WebGoat-Lessons.git
git clone -b master https://github.com/WebGoat/WebGoat-Lessons.git
echo -e "Compiling and installing the WebGoat Container lesson server....."
mvn -q -DskipTests -file WebGoat/pom.xml clean compile install
echo -e "Compiling and installing the WebGoat Lessons $COL_RESET"
Expand All @@ -45,3 +45,4 @@ Vagrant.configure(2) do |config|
end

end

7 changes: 4 additions & 3 deletions webgoat-images/vagrant_provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ rm -rf ZAP_2.5.0_Linux.tar.gz

## IntelliJ
cd /home/vagrant/tools
wget https://download.jetbrains.com/idea/ideaIC-2016.2.4.tar.gz
tar xvfz ideaIC-2016.2.4.tar.gz
rm -rf ideaIC-2016.2.4.tar.gz
wget https://download.jetbrains.com/idea/ideaIC-2016.1.4.tar.gz
tar xvfz ideaIC-2016.1.4.tar.gz
rm -rf ideaIC-2016.1.4.tar.gz

## Eclipse
sudo apt-get -y install eclipse

0 comments on commit 1347c8b

Please sign in to comment.