From caa4d559fbf517ee02e2adadd87b38e68df02111 Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Wed, 6 Mar 2024 19:36:22 -0800 Subject: [PATCH] Singularity: remove temporary files after the build is finished This helps to reduce the image size from 404M to 371M --- Singularity | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Singularity b/Singularity index d938b8e..0579db1 100644 --- a/Singularity +++ b/Singularity @@ -49,6 +49,8 @@ From: ubuntu:22.04 # Clean up apt-get remove -y wget git build-essential + apt-get clean + rm -rf /var/lib/apt/lists/* %environment export LANG=en_US.UTF-8