From b6c5fa0b2b8cda142f6f30a08661550251721d41 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Fri, 2 Aug 2024 21:34:15 +0300 Subject: [PATCH] Make CMake version to be an argument --- 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