Fix cloud docker image build and remove apt files for optim (#2961)

* make sure to apt update to install sudo and tmux

* remove apt archives too
This commit is contained in:
Wing Lian
2025-07-21 11:05:00 -04:00
committed by GitHub
parent 31a15a49b6
commit 8e5f146701
3 changed files with 7 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ ENV PYTORCH_VERSION=$PYTORCH_VERSION
RUN apt-get update && \
apt-get install -y --allow-change-held-packages vim curl nano libnccl2 libnccl-dev rsync s3fs && \
rm -rf /var/cache/apt/archives && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace