From 5611c4565a7edf4238c71415d364414bb123abcd Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 6 Aug 2024 18:32:18 +0300 Subject: [PATCH] Install CMake from GitHub but not from cmake.org (#36) --- images/manylinux_2_28_x86_64/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/manylinux_2_28_x86_64/Dockerfile b/images/manylinux_2_28_x86_64/Dockerfile index 79667f3..580bdf8 100644 --- a/images/manylinux_2_28_x86_64/Dockerfile +++ b/images/manylinux_2_28_x86_64/Dockerfile @@ -10,7 +10,8 @@ RUN yum update -y \ && rm -rf /var/cache/yum # Install CMake -RUN curl -sL https://cmake.org/files/v3.30/cmake-3.30.1-linux-x86_64.sh -o cmake.sh \ +ARG CMAKE_VER=3.30.1 +RUN curl -sL https://github.com/Kitware/CMake/releases/download/v${CMAKE_VER}/cmake-${CMAKE_VER}-linux-x86_64.sh -o cmake.sh \ && chmod +x cmake.sh \ && ./cmake.sh --prefix=/usr/local --exclude-subdir \ && rm -f ./cmake.sh