From 8ebb0bf1a096b3e965b309a6a90df71aed4611ea Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 25 Mar 2025 18:10:09 +0800 Subject: [PATCH] chore: properly clean up apt temporary files in Dockerfile (#1223) 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