summaryrefslogtreecommitdiff
path: root/Dockerfile.build-debian-armhf
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-armhf
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-armhf')
-rw-r--r--Dockerfile.build-debian-armhf2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile.build-debian-armhf b/Dockerfile.build-debian-armhf
index 3a133d849..3e429e2f1 100644
--- a/Dockerfile.build-debian-armhf
+++ b/Dockerfile.build-debian-armhf
@@ -37,3 +37,5 @@ RUN apt-get install -t stretch-backports -y \
libdrm-dev:armhf \
qemu-user \
qemu-user-static
+
+RUN apt-get clean