[PATCH 5/7] ci: container: run apt-get clean after installation

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Mar 26 05:36:17 PDT 2025


For good measure, let's run an apt-get clean after having installed the
package to hopefully save some space.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 test/Containerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/Containerfile b/test/Containerfile
index 73b0f1b70802..02610196f0d9 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -53,6 +53,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 	u-boot-tools \
 	yamllint \
 	yq \
+	&& apt-get clean \
 	&& rm -rf /var/lib/apt/lists/*
 
 ENV GCC_VERSION=14.2.0
-- 
2.39.5




More information about the barebox mailing list