summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-07-11 08:09:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-11 08:09:11 +0000
commit451dc20e8da42f0aaff9b563d08b4c4abab67b33 (patch)
treeb5ba0e7620d452917a95f26de95caad0a2aafef7 /docker/Dockerfile
parent38415929779dff830fa73835a6e5755476b30559 (diff)
parentbde3bcb27574b5ace25021de5ed2303161995cc9 (diff)
Merge "Add upper-constraints.txt for Functest"
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7db184f43..81d5167ea 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -70,18 +70,17 @@ RUN mkdir -p ${REPOS_VNFS_DIR} \
RUN git config --global http.sslVerify false
COPY thirdparty-requirements.txt thirdparty-requirements.txt
+COPY upper-constraints.txt upper-constraints.txt
RUN wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata | \
sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ \
- > upper-constraints.txt && \
- pip install --src /src -cupper-constraints.txt \
+ > o-upper-constraints.txt && \
+ pip install --src /src -cupper-constraints.txt -co-upper-constraints.txt \
git+https://gerrit.opnfv.org/gerrit/functest@$BRANCH#egg=functest \
- git+https://gerrit.opnfv.org/gerrit/releng@$BRANCH#egg=opnfv\&subdirectory=modules \
- git+https://gerrit.opnfv.org/gerrit/snaps@$BRANCH#egg=snaps \
- -r thirdparty-requirements.txt && \
+ -rthirdparty-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-manage db create && \
- rm thirdparty-requirements.txt upper-constraints.txt
+ rm thirdparty-requirements.txt upper-constraints.txt o-upper-constraints.txt
# OPNFV repositories
RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper ${REPOS_DIR}/copper