From 3bf2fc3dfbbbd5a6f5ff0fc8b417ee25e0f338b9 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Mon, 2 Sep 2019 10:42:40 +0300 Subject: 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 Reviewed-by: Petri Latvala --- Dockerfile.build-debian | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile.build-debian') diff --git a/Dockerfile.build-debian b/Dockerfile.build-debian index 13553c5a..de2adca6 100644 --- a/Dockerfile.build-debian +++ b/Dockerfile.build-debian @@ -23,3 +23,5 @@ RUN apt-get install -y \ xutils-dev \ libtool \ make + +RUN apt-get clean -- cgit v1.2.3