diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-09-02 10:42:40 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-09-03 18:26:58 +0300 |
commit | 3bf2fc3dfbbbd5a6f5ff0fc8b417ee25e0f338b9 (patch) | |
tree | 6d126a2d33cdc80cb92c00fd89c12828f5bc8982 /Dockerfile.build-debian-armhf | |
parent | 764c858dd5362058ce865c178dc2f19bb8809e70 (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-armhf | 2 |
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 |