Skip to content

Commit

Permalink
add rubies 2.1.8 2.2.0 2.3.0 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frodoslaw committed Dec 12, 2017
1 parent c2a40c4 commit 0d5b86c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A170311380

# Install Ruby
ENV DEFAULT_RUBY 2.3.0
ENV RUBIES 2.1.8 2.3.0 2.4.0

RUN /bin/bash -l -c 'rvm requirements'
RUN for RUBY in $RUBIES; /root/.rbenv/bin/rbenv install $RUBY; done
RUN /bin/bash -l -c 'rvm use $RUBY_VERSION --default'
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 use $DEFAULT_RUBY --default'

# Install Bundler
RUN /bin/bash -l -c 'gem install bundler --no-doc --no-ri'

0 comments on commit 0d5b86c

Please sign in to comment.