diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-08-25 16:08:41 +0000 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2017-09-05 21:31:53 +0000 |
commit | 0bc582e42fb695d62c5bd0575c2b24938c6664f4 (patch) | |
tree | a865e6f4a8fe37087151569f99f4f8baba2c8fd7 | |
parent | bbba6052808e5a729ba8cc0c63c3e232e1b204ef (diff) | |
download | buildstream-sam/docker-cleanup.tar.gz |
Dockerfile-build.sh: remove DNF cache at the end of the buildsam/docker-cleanup
This saves over 100MB from the resulting image size.
-rw-r--r-- | Dockerfile-build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |