Skip to content

Commit 4d51a1c

Browse files
Merge branch 'main' into 3_7_etc0y
2 parents b215c88 + 5803bcd commit 4d51a1c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \
88
build-essential \
99
ca-certificates \
1010
ccache \
11-
cmake \
1211
curl \
1312
wget \
1413
git \
@@ -36,10 +35,16 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \
3635
libsqlite3-dev \
3736
zlib1g-dev \
3837
llvm \
39-
python-openssl && \
38+
python-openssl \
39+
apt-transport-https \
40+
ca-certificates \
41+
gnupg \
42+
software-properties-common && \
43+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \
44+
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
4045
echo "deb http://security.ubuntu.com/ubuntu focal-security main" >> /etc/apt/sources.list && \
4146
apt update && \
42-
apt install -y binutils && \
47+
apt install -y binutils cmake && \
4348
rm -rf /var/lib/apt/lists/*
4449
RUN /usr/sbin/update-ccache-symlinks
4550
RUN mkdir /opt/ccache && ccache --set-config=cache_dir=/opt/ccache
@@ -66,7 +71,7 @@ RUN curl -fsSL -v -o ~/miniconda.sh -O https://repo.anaconda.com/miniconda/Mini
6671
chmod +x ~/miniconda.sh && \
6772
~/miniconda.sh -b -p /opt/conda && \
6873
rm ~/miniconda.sh && \
69-
/opt/conda/bin/conda install -y python=${PYTHON_VERSION} cmake mkl mkl-include conda-build pyyaml numpy ipython && \
74+
/opt/conda/bin/conda install -y python=${PYTHON_VERSION} mkl mkl-include conda-build pyyaml numpy ipython && \
7075
/opt/conda/bin/conda install -y -c conda-forge libpython-static=${PYTHON_VERSION} && \
7176
/opt/conda/bin/conda install -y pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch-nightly && \
7277
/opt/conda/bin/conda clean -ya

0 commit comments

Comments
 (0)