From 15e0a3c8f0f8a3a1603515b5c8dad47e5f2a90e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 5 Aug 2021 20:07:12 +0200 Subject: [PATCH] kata-deploy: Remove unneeded yum cached files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's just remove the cached failes as those are not needed for anything we do when using this image. Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/packaging/kata-deploy/Dockerfile b/tools/packaging/kata-deploy/Dockerfile index 29bfcd905..6b49d1dca 100644 --- a/tools/packaging/kata-deploy/Dockerfile +++ b/tools/packaging/kata-deploy/Dockerfile @@ -13,6 +13,7 @@ RUN \ yum -y update && \ yum install -y epel-release && \ yum install -y bzip2 jq && \ +yum clean all && \ mkdir -p ${DESTINATION} && \ tar xvf ${KATA_ARTIFACTS} -C ${DESTINATION}/ && \ chown -R root:root ${DESTINATION}/