Add missing 'yum clean all' in oraclelinux base
This one line halfs the size of oraclelinux images, from over 1GB to just over 500MB, bringing them inline with centos. TrivialFix Change-Id: I9fd89aeeec56207791fc289db9880b43b17536f5
This commit is contained in:
parent
3105580d39
commit
4dd60575f2
@ -83,7 +83,8 @@ RUN yum install -y \
|
||||
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \
|
||||
&& yum clean all
|
||||
RUN yum-config-manager --enable ol7_optional_latest ol7_addons
|
||||
RUN yum install -y yum-plugin-priorities
|
||||
RUN yum install -y yum-plugin-priorities \
|
||||
&& yum clean all
|
||||
|
||||
{% endif %}
|
||||
{# Endif for base_distro oraclelinux #}
|
||||
|
Loading…
Reference in New Issue
Block a user