aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile')
-rw-r--r--tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile b/tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile
index 66ba01d37e..53fb4d5ab5 100644
--- a/tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile
+++ b/tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile
@@ -29,4 +29,11 @@
FROM ubuntu:14.04
-RUN apt-get update -y && apt-get install -y ruby-full
+RUN apt-get update -y && apt-get install -y curl
+
+# Install rvm
+RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
+RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby
+
+RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.bashrc"
+RUN /bin/bash -l -c "gem install --update bundler"