From a7e8a9b4d4a91cd5d5a4fc971e4b35fa7db5865f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Sat, 28 Oct 2017 02:17:15 +0200 Subject: [PATCH] Run (dnf clean all) after finishing the installation ... to drop all caches which will never be needed again. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f6ce245..aba86f60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ RUN dnf -y update && dnf install -y make git golang golang-github-cpuguy83-go-md ostree-devel \ gnupg \ # 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 # only supports schema1 manifests. The second is a newer version that supports