aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-09-01 20:49:39 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-09-01 20:50:15 +0200
commitff8b85b1fd9ec9c02c7cee8e1cce057f7c78e22a (patch)
treeb4fdf53a2ce94d27bacdbb5b39b26050ad5c628d
parent5452a35e4507269d0cf024bf7234fffbdbf35d6f (diff)
Stop removing /src/openstack-requirements/.git
Otherwise pip fails when it checks it again [1]. [1] https://hub.docker.com/r/opnfv/functest-features/builds/b8ziypongh8eexgsatdpyhm/ Change-Id: I973f41f8a8e757c01c9c17d57323c7e737b76741 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/core/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index df8ce835..66117092 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -20,7 +20,7 @@ RUN apk --no-cache add --update \
update-requirements -s --source /src/openstack-requirements /src/rally/ && \
pip install --no-cache-dir --src /src -cupper-constraints.txt \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH /src/rally/ && \
- rm -r upper-constraints.txt /src/rally/.git /src/openstack-requirements/.git && \
+ rm -r upper-constraints.txt /src/rally/.git && \
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 && \