Run (dnf clean all) after finishing the installation

... to drop all caches which will never be needed again.
This commit is contained in:
Miloslav Trmač 2017-10-28 02:17:15 +02:00
parent 3f10c1726d
commit a7e8a9b4d4

View File

@ -9,7 +9,8 @@ RUN dnf -y update && dnf install -y make git golang golang-github-cpuguy83-go-md
ostree-devel \ ostree-devel \
gnupg \ gnupg \
# OpenShift deps # OpenShift deps
which tar wget hostname util-linux bsdtar socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof docker iproute which tar wget hostname util-linux bsdtar socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof docker iproute \
&& dnf clean all
# Install two versions of the registry. The first is an older version that # Install two versions of the registry. The first is an older version that
# only supports schema1 manifests. The second is a newer version that supports # only supports schema1 manifests. The second is a newer version that supports