kolla overrides: Remove yum cache

to keep in line with:
    https://review.openstack.org/#/c/505143/
    https://review.openstack.org/#/c/586303/

add  rm -rf /var/cache/yum after yum update

Change-Id: I8dd5e494d8594a3f40e5654d573e406be516f08d
(cherry picked from commit 7c3a86cfd8)
This commit is contained in:
Jon Schlueter 2018-07-26 13:50:49 -04:00
parent 81f931792b
commit 397d42ad4f

View File

@ -580,5 +580,5 @@ STOPSIGNAL SIGTERM
# a yum update in the kolla base image. All the other images should inherit this # a yum update in the kolla base image. All the other images should inherit this
# but if the base distro container is out of date (i.g. 7.4 but 7.5 is out) this # but if the base distro container is out of date (i.g. 7.4 but 7.5 is out) this
# will pull in the updated packages available. Related issue LP#1770355 # will pull in the updated packages available. Related issue LP#1770355
RUN yum update -y && yum clean all RUN yum update -y && yum clean all && rm -rf /var/cache/yum
{% endblock %} {% endblock %}