From 0bc582e42fb695d62c5bd0575c2b24938c6664f4 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 25 Aug 2017 16:08:41 +0000 Subject: Dockerfile-build.sh: remove DNF cache at the end of the build This saves over 100MB from the resulting image size. --- Dockerfile-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile-build.sh b/Dockerfile-build.sh index 15d1de4f9..2bed2c9f9 100644 --- a/Dockerfile-build.sh +++ b/Dockerfile-build.sh @@ -19,3 +19,4 @@ pip3 install . echo "Removing BuildStream build dependencies" dnf remove -y python3-devel dnf remove -y gcc redhat-rpm-config +dnf clean all -- cgit v1.2.1