Add 'rvm use system;' to Dockerfile for vIMS 31/5131/2
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 23 Dec 2015 11:09:25 +0000 (12:09 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 23 Dec 2015 11:14:02 +0000 (12:14 +0100)
JIRA: FUNCTEST-120

Also changed the order of the image command

Change-Id: Iecd4025929b93f64356a79cf45df1d1eca257a36
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
docker/Dockerfile

index 99d18ca..32323e0 100644 (file)
@@ -64,10 +64,11 @@ RUN git clone -b stable https://github.com/boucherv-orange/clearwater-live-test
 RUN git clone https://github.com/openstack/networking-bgpvpn ${repos_dir}/bgpvpn
 
 RUN pip install -r ${repos_dir}/functest/docker/requirements.pip
+RUN pip install -r ${repos_dir}/rally/requirements.txt
+
+ADD http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img /home/opnfv/functest/data/
 
 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 ; bundle install'
-
-ADD http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img /home/opnfv/functest/data/
\ No newline at end of file
+RUN bash -c 'source /etc/profile.d/rvm.sh ; cd ${repos_dir}/vims-test ; rvm use 1.9.3; bundle install'