CentOS base images have a layer with unnecessary /var/yum/cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Radosław Piliszek |
Bug Description
Since https:/
RUN {{ macros.
{% for repo in base_centos_
&& yum-config-manager --disable {{ repo }} \
{% endfor -%}
{% for key in base_centos_
&& rpm --import {{ key }} \
{% endfor -%}
&& /bin/true
{% block base_centos_
RUN {{ macros.
This is because is it not cleaned in the first RUN statement. This adds 76MB to the image. Also, using two separate RUNs which results in an extra 23MB due to updates to /var/lib/
Found via https:/
Changed in kolla: | |
assignee: | Mark Goddard (mgoddard) → Radosław Piliszek (yoctozepto) |
Fix proposed to branch: master /review. opendev. org/691512
Review: https:/