aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile.aarch64
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.aarch64
parent38415929779dff830fa73835a6e5755476b30559 (diff)
parentbde3bcb27574b5ace25021de5ed2303161995cc9 (diff)
Merge "Add upper-constraints.txt for Functest"
Diffstat (limited to 'docker/Dockerfile.aarch64')
-rw-r--r--docker/Dockerfile.aarch6411
1 files changed, 5 insertions, 6 deletions
diff --git a/docker/Dockerfile.aarch64 b/docker/Dockerfile.aarch64
index 1339e5e9..1140eadd 100644
--- a/docker/Dockerfile.aarch64
+++ b/docker/Dockerfile.aarch64
@@ -69,18 +69,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