aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-07-21 14:47:38 -0700
committerSteven Dake <stdake@cisco.com>2015-07-21 17:38:59 -0700
commite63497dda0b174ac1dc64dfcf8908838ba0b5450 (patch)
tree76787ca15cb14201d916b2d8611bc1f7c852efcb /docker
parent39378aa91999521310042cd43ca6892afb312e87 (diff)
downloadkolla-e63497dda0b174ac1dc64dfcf8908838ba0b5450.tar.gz
kolla-e63497dda0b174ac1dc64dfcf8908838ba0b5450.zip
Remove PIP cache for Magnum
We only install these pip files once so there is no need for a 50MB PIP cache stored in the image permanently. Change-Id: I75c8154c764db85b3115b4d28fc136855523df05 Partial-Bug: #1476840
Diffstat (limited to 'docker')
-rw-r--r--docker/centos/source/magnum/magnum-base/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/centos/source/magnum/magnum-base/Dockerfile b/docker/centos/source/magnum/magnum-base/Dockerfile
index 0962e08d2..f5d0fe55f 100644
--- a/docker/centos/source/magnum/magnum-base/Dockerfile
+++ b/docker/centos/source/magnum/magnum-base/Dockerfile
@@ -9,7 +9,8 @@ RUN cd /magnum \
&& pip install -r requirements.txt \
&& pip install /magnum \
&& mkdir /etc/magnum /var/log/magnum \
- && cp -r /magnum/etc/* /etc/magnum/
+ && cp -r /magnum/etc/* /etc/magnum/ \
+ && rm -rf /root/.cache
RUN mkdir -p /opt/kolla
COPY config-magnum.sh /opt/kolla/config-magnum.sh