Fix intellij link and use master branch for vagrant images in #262

This commit is contained in:
Daniel Kvist 2016-11-20 21:39:11 +01:00
parent faeb5b1b24
commit 1347c8b5f6
3 changed files with 10 additions and 7 deletions

View File

@ -19,9 +19,9 @@ 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|
@ -29,3 +29,4 @@ Vagrant.configure(2) do |config|
end
end

View File

@ -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"
@ -45,3 +45,4 @@ Vagrant.configure(2) do |config|
end
end

View File

@ -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