From 35be4af26975e1951de68d5a2ac36516cadde839 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Thu, 21 Dec 2017 01:49:58 +0000 Subject: Force python2.7 when creating venv for refstack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It applies part of "Fix rally db issue" [1] which is not cherry-picked because it mainly focused on rally updates. [1] https://gerrit.opnfv.org/gerrit/#/c/47555/ Change-Id: Ic6850e54860fe2b54a2199e1c3ed89d822ae6284 Signed-off-by: Linda Wang --- docker/restapi/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/restapi/Dockerfile b/docker/restapi/Dockerfile index bd3cdebbb..12abaf738 100644 --- a/docker/restapi/Dockerfile +++ b/docker/restapi/Dockerfile @@ -33,7 +33,7 @@ RUN apk --no-cache add --update nodejs nodejs-npm python3 sshpass \ git clone --depth 1 -b $FDS_TAG https://gerrit.opnfv.org/gerrit/fds /src/fds && \ git clone --depth 1 -b $VIMS_TAG https://github.com/boucherv-orange/clearwater-live-test /src/vims-test && \ ln -s /src/tempest /src/refstack-client/.tempest && \ - virtualenv --system-site-packages /src/tempest/.venv && \ + virtualenv --system-site-packages /src/tempest/.venv --python=python2.7 && \ (cd /src/promise/source && npm install) && \ (cd /src/vims-test && bundle config build.nokogiri --use-system-libraries && bundle install --system) && \ npm -g install npm@latest && \ -- cgit 1.2.3-korg