aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2019-01-25 16:42:50 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-26 23:03:05 +0100
commit5f9e4a4fa74d9de129528313b3acb87ee3e0edde (patch)
treef667413483fde2767102f9917270a09fb6f83fe5 /docker/smoke/Dockerfile
parent9bb9d8d495317fe7e3aaeb7082d9662f211eafec (diff)
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 <mokats@intracom-telecom.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r--docker/smoke/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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 \