aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-11 14:47:22 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-11 14:47:22 -0800
commit7f91d420694a6ef8bb3cc4dce34bd88bb7478757 (patch)
tree99402b97793f1c770237b4c90f67f786a00ff212 /tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
parent090c867e28c6898b5e5fe32d8fe5ef5178986721 (diff)
parent1362c24108d5c62892235495ba5785c641c72256 (diff)
Merge branch 'master' into alarm_openloop
Diffstat (limited to 'tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile')
-rw-r--r--tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile b/tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
index 95b7702afb..782368bf8d 100644
--- a/tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
+++ b/tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
@@ -29,4 +29,11 @@
FROM ubuntu:12.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"