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:
Paul Bourke 2016-03-10 10:24:19 +00:00
parent 3105580d39
commit 4dd60575f2
1 changed files with 2 additions and 1 deletions

View File

@ -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 #}