upgrade ruby

This commit is contained in:
Christian Mehlmauer
2017-12-27 00:41:04 +01:00
parent 54c0e79c58
commit 94e6b2eab6
4 changed files with 6 additions and 5 deletions

View File

@@ -1 +1 @@
2.4.2 2.5.0

View File

@@ -14,6 +14,7 @@ rvm:
- 2.3.3 - 2.3.3
- 2.4.1 - 2.4.1
- 2.4.2 - 2.4.2
- 2.5.0
before_install: before_install:
- "env" - "env"
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"

View File

@@ -1,4 +1,4 @@
FROM ruby:2.4-alpine FROM ruby:2.5-alpine
MAINTAINER WPScan Team <team@wpscan.org> MAINTAINER WPScan Team <team@wpscan.org>
ARG BUNDLER_ARGS="--jobs=8 --without test" ARG BUNDLER_ARGS="--jobs=8 --without test"

View File

@@ -137,7 +137,7 @@ Published on https://hub.docker.com/r/wpscanteam/wpscan/
## Prerequisites ## Prerequisites
- Ruby >= 2.1.9 - Recommended: 2.4.2 - Ruby >= 2.1.9 - Recommended: 2.5.0
- Curl >= 7.21 - Recommended: latest - FYI the 7.29 has a segfault - Curl >= 7.21 - Recommended: latest - FYI the 7.29 has a segfault
- RubyGems - Recommended: latest - RubyGems - Recommended: latest
- Git - Git
@@ -174,8 +174,8 @@ https://rvm.io/integration/gnome-terminal#integrating-rvm-with-gnome-terminal
curl -sSL https://get.rvm.io | bash -s stable curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.4.2 rvm install 2.5.0
rvm use 2.4.2 --default rvm use 2.5.0 --default
echo "gem: --no-ri --no-rdoc" > ~/.gemrc echo "gem: --no-ri --no-rdoc" > ~/.gemrc
git clone https://github.com/wpscanteam/wpscan.git git clone https://github.com/wpscanteam/wpscan.git
cd wpscan cd wpscan