Stop removing /src/openstack-requirements/.git
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 1 Sep 2017 18:49:39 +0000 (20:49 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 1 Sep 2017 18:50:15 +0000 (20:50 +0200)
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>
docker/core/Dockerfile

index df8ce83..6611709 100644 (file)
@@ -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 && \