aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-07-21 14:46:27 -0700
committerSteven Dake <stdake@cisco.com>2015-07-21 17:38:57 -0700
commit39378aa91999521310042cd43ca6892afb312e87 (patch)
treec4c854df33331625c08dcb0f2432b13dcf26260a
parent7bc8af43c34e01252016d0e58445d8ff6be47454 (diff)
downloadkolla-39378aa91999521310042cd43ca6892afb312e87.tar.gz
kolla-39378aa91999521310042cd43ca6892afb312e87.zip
Remove PIP cache for Heat
We only install packages one time so there is no benefit to storing 50MB of PIP cache data. Change-Id: I294ad00464c7fd2312d6140140d334ff9bddb611 Partial-Bug: #1476480
-rwxr-xr-xdocker/centos/source/heat/heat-base/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/centos/source/heat/heat-base/Dockerfile b/docker/centos/source/heat/heat-base/Dockerfile
index 3453d4901..52647a49e 100755
--- a/docker/centos/source/heat/heat-base/Dockerfile
+++ b/docker/centos/source/heat/heat-base/Dockerfile
@@ -9,7 +9,8 @@ RUN cd /heat \
&& pip install -r requirements.txt \
&& pip install /heat \
&& mkdir /etc/heat /var/log/heat \
- && cp -r /heat/etc/* /etc/heat/
+ && cp -r /heat/etc/* /etc/heat/ \
+ && rm -rf /root/.cache
COPY config-heat.sh /opt/kolla/