upgrade ruby
This commit is contained in:
@@ -1 +1 @@
|
|||||||
2.4.2
|
2.5.0
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user