summaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-17 12:31:06 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-17 13:02:08 +0200
commit818161ac24b2807c6931a1d7b563612b60fa5e1c (patch)
treea7e44d4862b086895a70c695d072cd34b9697f42 /docker/core/Dockerfile
parent6ff8e6fd6be9f1fc57506db52432a1cb20f4db99 (diff)
Save space in Alpine containers
It decreases the size of Functest core and smoke containers by 20%. Change-Id: Id75117b1404e3cce004ef51c61040cdb7ade6976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 574de9bae..ebd76a262 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -12,7 +12,7 @@ RUN apk --no-cache add --update \
wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG | \
sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ \
> upper-constraints.txt && \
- pip install --src /src -cupper-constraints.txt \
+ pip install --no-cache-dir --src /src -cupper-constraints.txt \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
git+https://gerrit.opnfv.org/gerrit/functest@$BRANCH#egg=functest && \
rm upper-constraints.txt && \