Stop updating pip in virtualenv 37/66637/3
authorStamatis Katsaounis <mokats@intracom-telecom.com>
Fri, 25 Jan 2019 14:42:50 +0000 (16:42 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 26 Jan 2019 22:03:05 +0000 (23:03 +0100)
NOTE: pip versions from 19.0 and later are producing an error when
used with option --no-cache-dir.

Change-Id: I3f4fb0b77046cda45d98673e7a5c8d42c72fb557
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/smoke/Dockerfile

index 825e07b..2511c6a 100644 (file)
@@ -38,7 +38,7 @@ RUN apk --no-cache add --virtual .build-deps --update \
         -O /home/opnfv/functest/data/refstack/defcore.txt && \
     mkdir -p /etc/neutron /etc/cinder /etc/glance /etc/keystone /etc/nova && \
     wget -q -O /etc/glance/policy.json https://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=$OPENSTACK_TAG && \
-    virtualenv oslo && . oslo/bin/activate && \
+    virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \
     pip install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \
         oslo.policy -e git+https://git.openstack.org/openstack/neutron.git@$OPENSTACK_TAG#egg=neutron \
         -e git+https://git.openstack.org/openstack/cinder.git@$OPENSTACK_TAG#egg=cinder \