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>
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 && \