CMake download from shstk

This commit is contained in:
2026-05-07 16:19:13 +03:00
parent 20a6e43644
commit d203d1d4d0
6 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y subversion git zip unzip wget curl htop
# last cmake from sources, into /opt
ENV CUR_CMAKE_VERSION=3.20.0
WORKDIR /soft
RUN wget -nv https://github.com/Kitware/CMake/releases/download/v${CUR_CMAKE_VERSION}/cmake-${CUR_CMAKE_VERSION}-Linux-x86_64.sh \
RUN wget -nv https://shstk.ru/files/cmake-${CUR_CMAKE_VERSION}-Linux-x86_64.sh \
&& mkdir -p /opt/cmake \
&& bash ./cmake-${CUR_CMAKE_VERSION}-Linux-x86_64.sh --skip-license --prefix=/opt/cmake \
&& rm -rf /soft/cmake-${CUR_CMAKE_VERSION}-Linux-x86_64.sh