diff --git a/Dockerfile b/Dockerfile index 92c5242..56c5c94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN echo 'worker ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers USER worker # Install RVM -RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ +RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \ && curl -sSL https://get.rvm.io | bash -s stable \ && /bin/bash -l -c 'source ~/.rvm/scripts/rvm' @@ -27,10 +27,12 @@ RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A170311380 ENV DEFAULT_RUBY 2.3.0 RUN /bin/bash -l -c 'rvm requirements' +RUN /bin/bash -l -c "rvm install 2.0.0" RUN /bin/bash -l -c "rvm install 2.1.8" RUN /bin/bash -l -c "rvm install 2.2.0" RUN /bin/bash -l -c "rvm install 2.3.0" RUN /bin/bash -l -c "rvm install 2.4.0" +RUN /bin/bash -l -c "rvm install 2.5.0" RUN /bin/bash -l -c 'rvm use $DEFAULT_RUBY --default' # Install Bundler diff --git a/README.md b/README.md index dbc2d7e..c983275 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Docker container for RVM tests. [![Build Status](https://travis-ci.org/frodoslaw/docker-rvm.svg?branch=master)](https://travis-ci.org/frodoslaw/docker-rvm) ### Information about image - 1. OS: Ubuntu 14.04 LTS - 2. RUBY'S: 2.1.8, 2.2.0, 2.3.0(default), 2.4.0 + 1. OS: Ubuntu 14.04 LTS(Trusty Tahr) + 2. RUBY'S: 2.0.0, 2.1.8, 2.2.0, 2.3.0(default), 2.4.0, 2.5.0 ### Usage docker pull frodoslaw/docker-rvm