chore: properly clean up apt temporary files in Dockerfile (#1223)

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
This commit is contained in:
Peter Dave Hello 2025-03-25 18:10:09 +08:00 committed by GitHub
parent 7df157204b
commit 8ebb0bf1a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ ENV GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no"
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y libgl1 libglib2.0-0 curl wget git procps \ && 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 # This will install torch with *only* cpu support
# Remove the --extra-index-url part if you want to install all the gpu requirements # Remove the --extra-index-url part if you want to install all the gpu requirements