aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-28 15:54:07 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-28 15:55:14 +0100
commit7e19ef72f9d5740b04988679f568dd883881e96c (patch)
tree057d4967b27b46290eb39c78d65be6a0b8b89d59
parentabe4c7197f4c04e39757889e8b4db496569aef9f (diff)
Add ruby 1.9.1 installation in docker image
JIRA: FUNCTEST-120 Change-Id: I4540fcb59e1367102c3c8cb5387048ebfda80af7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 32323e0cf..decce6812 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -48,6 +48,7 @@ libgmp3-dev \
libxml2-dev \
libffi-dev \
crudini \
+ruby1.9.1-dev \
--no-install-recommends
@@ -71,4 +72,4 @@ ADD http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img /home/op
RUN gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN curl -L https://get.rvm.io | bash -s stable
RUN bash -c 'source /etc/profile.d/rvm.sh ; rvm autolibs enable ; rvm install 1.9.3 ; rvm use 1.9.3'
-RUN bash -c 'source /etc/profile.d/rvm.sh ; cd ${repos_dir}/vims-test ; rvm use 1.9.3; bundle install'
+RUN bash -c 'source /etc/profile.d/rvm.sh ; cd ${repos_dir}/vims-test;rvm use system;bundle install'