From 5f9e4a4fa74d9de129528313b3acb87ee3e0edde Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Fri, 25 Jan 2019 16:42:50 +0200 Subject: Stop updating pip in virtualenv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Cédric Ollivier --- docker/smoke/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/smoke/Dockerfile') diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 825e07b78..2511c6ad9 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -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 \ -- cgit 1.2.3-korg