Skip to content

Commit

Permalink
Merge pull request #6 from frodoslaw/add-new-os-and-ruby-version
Browse files Browse the repository at this point in the history
Add ruby's: 2.0.0, 2.5.0
  • Loading branch information
frodoslaw authored Jul 2, 2018
2 parents d3e987b + a9c15a0 commit 9f5fd1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ 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'

# Install Ruby
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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f5fd1f

Please sign in to comment.