From: Stamatis Katsaounis Date: Fri, 25 Jan 2019 14:42:50 +0000 (+0200) Subject: Stop updating pip in virtualenv X-Git-Tag: opnfv-9.0.0~93 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F66637%2F3;p=functest.git Stop updating pip in virtualenv 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 --- 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 \