From caf1b61ac92f2ea8950996a413c4b41a0232abaa Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sat, 22 Mar 2025 15:36:11 +0800 Subject: [PATCH] chore: properly clean up apt temporary files in Dockerfile Signed-off-by: Peter Dave Hello --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d210b5ad..f032678e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ENV GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" RUN apt-get update \ && apt-get install -y libgl1 libglib2.0-0 curl wget git procps \ - && apt-get clean + && rm -rf /var/lib/apt/lists/* # This will install torch with *only* cpu support # Remove the --extra-index-url part if you want to install all the gpu requirements