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

@@ -16,7 +16,9 @@ ENV PYTHON_VERSION=$PYTHON_VERSION
ENV TORCH_CUDA_ARCH_LIST=$TORCH_CUDA_ARCH_LIST
RUN apt-get update \
&& apt-get install -y wget git build-essential ninja-build git-lfs libaio-dev pkg-config && rm -rf /var/lib/apt/lists/* \
&& apt-get install -y wget git build-essential ninja-build git-lfs libaio-dev pkg-config \
&& rm -rf /var/cache/apt/archives \
&& rm -rf /var/lib/apt/lists/* \
&& wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \