aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-09-29 05:15:59 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2017-09-29 10:18:20 +0200
commitf36d607e1b8f7660bbcb4c06d589d4eeb76158e3 (patch)
tree59c1f7830bd78719e7312d83e061c901bdf33e23 /docker
parente1e1f44521cb36b05704d83adf3f51af838ac25b (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>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ec2b3fa64..a764d2397 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