summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-09-29 05:15:59 +0000
committerCedric Ollivier <cedric.ollivier@orange.com>2017-09-29 08:46:28 +0000
commitf83d8530bf34c1f2aa29fef0a3030a11a9ed4fa7 (patch)
tree9c72c935ff7d8cc51b285240ed58734913cd3ca8
parentb9b8b9a0b24aac1d38e13f9c5b0e1fdebc995894 (diff)
Force python2 when creating venv for refstack
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)
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 76a70955d..8e5c34100 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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