From 0d5b86c20b63bb06a5d40eddba4a14f438ce996d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C4=85ckiewicz=20Rados=C5=82aw?= Date: Tue, 12 Dec 2017 10:35:20 +0100 Subject: [PATCH] add rubies 2.1.8 2.2.0 2.3.0 2.4.0 --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f36cc70..d2f4e22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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'