From: Cédric Ollivier Date: Fri, 1 Sep 2017 18:49:39 +0000 (+0200) Subject: Stop removing /src/openstack-requirements/.git X-Git-Tag: 0.2~364^2~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ff8b85b1fd9ec9c02c7cee8e1cce057f7c78e22a;p=functest-xtesting.git 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 --- 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 && \