From f83d8530bf34c1f2aa29fef0a3030a11a9ed4fa7 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Fri, 29 Sep 2017 05:15:59 +0000 Subject: [PATCH] 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 (cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3) --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6