aboutsummaryrefslogtreecommitdiffstats
path: root/docker/restapi/Dockerfile
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-03-14 03:05:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-14 03:05:12 +0000
commit7e2fa1942daf7b276064ca6bd7a4fcc87de16578 (patch)
tree69f9dff5b17c4fed920e150af7402a4c17d275ef /docker/restapi/Dockerfile
parent95c0371e3fe3d515a96d941bf303a853a3f2787b (diff)
parent0ce4ba21f5b934431adfa8a96f20065483a9f5c9 (diff)
Merge "Implement trunk ports testcase"
Diffstat (limited to 'docker/restapi/Dockerfile')
-rw-r--r--docker/restapi/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/restapi/Dockerfile b/docker/restapi/Dockerfile
index 32a8b3964..3286c8753 100644
--- a/docker/restapi/Dockerfile
+++ b/docker/restapi/Dockerfile
@@ -51,6 +51,12 @@ RUN apk --no-cache add --update python3 sshpass \
juju-wait && \
go get github.com/rogpeppe/godeps && \
(cd /src/vims-test && bundle config build.nokogiri --use-system-libraries && bundle install --system) && \
+ pip install --no-cache-dir --src /src -cupper-constraints.txt \
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
+ -e git+https://github.com/openstack/neutron.git@$OPENSTACK_TAG#egg=neutron && \
+ pip install --no-cache-dir --src /src -cupper-constraints.txt \
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
+ -r /src/neutron/test-requirements.txt && \
mkdir -p /etc/rally && \
printf "[database]\nconnection = 'sqlite:////var/lib/rally/database/rally.sqlite'" > /etc/rally/rally.conf && \
mkdir -p /var/lib/rally/database && rally db create && \