Force python2 when creating venv for refstack 87/43587/1
authorLinda Wang <wangwulin@huawei.com>
Fri, 29 Sep 2017 05:15:59 +0000 (05:15 +0000)
committerCedric Ollivier <cedric.ollivier@orange.com>
Fri, 29 Sep 2017 08:46:28 +0000 (08:46 +0000)
python3 has been selected since it was installed for doctor [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/41823/

JIRA: FUNCTEST-875

Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)

docker/Dockerfile

index 76a7095..8e5c341 100644 (file)
@@ -114,7 +114,7 @@ RUN git clone --depth 1 -b $VIMS_TAG https://github.com/boucherv-orange/clearwat
 
 # Install tempest venv and create symlink for running refstack-client
 RUN ln -s /src/tempest /src/refstack-client/.tempest \
-    && virtualenv --system-site-packages /src/tempest/.venv
+    && virtualenv --system-site-packages /src/tempest/.venv --python=python2
 
 RUN cd /src/vims-test && bundle install