summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-12-21 01:49:58 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2017-12-21 09:42:11 +0100
commit35be4af26975e1951de68d5a2ac36516cadde839 (patch)
tree84ba1b7e0dea95b4f31d90d024f056aa69d10df6 /docker
parentf01fdd86ebfcd8c6c9b368968c2e3572f702b27c (diff)
Force python2.7 when creating venv for refstack
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 <wangwulin@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/restapi/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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 && \