summaryrefslogtreecommitdiff
path: root/Dockerfile.build-debian-minimal
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-02 10:42:40 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-03 18:26:58 +0300
commit3bf2fc3dfbbbd5a6f5ff0fc8b417ee25e0f338b9 (patch)
tree6d126a2d33cdc80cb92c00fd89c12828f5bc8982 /Dockerfile.build-debian-minimal
parent764c858dd5362058ce865c178dc2f19bb8809e70 (diff)
Dockerfile: Clean package manager caches and squash images
To save some space and bandwidth. Without --squash the caches would get cleaned up only from the last layer which would save us nothing. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'Dockerfile.build-debian-minimal')
-rw-r--r--Dockerfile.build-debian-minimal2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile.build-debian-minimal b/Dockerfile.build-debian-minimal
index 63844694d..7c23ffc2a 100644
--- a/Dockerfile.build-debian-minimal
+++ b/Dockerfile.build-debian-minimal
@@ -23,3 +23,5 @@ RUN apt-get install -y \
RUN apt-get install -t stretch-backports -y \
meson \
libdrm-dev
+
+RUN apt-get clean