File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,12 @@ RUN yum install -y \
4141 yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ && \
4242 source /opt/rh/devtoolset-9/enable
4343
44- RUN curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz && \
44+ ARG CMAKE_VERSION=3.24.4
45+ RUN curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz && \
4546 gzip -d /tmp/cmake.tar.gz && \
4647 tar -xpf /tmp/cmake.tar --directory=/tmp && \
47- cp -R /tmp/cmake-3.22.5 -linux-$(uname -m)/* /usr && \
48- rm -rf /tmp/cmake-3.22.5 -linux-$(uname -m) cmake.tar && \
48+ cp -R /tmp/cmake-${CMAKE_VERSION} -linux-$(uname -m)/* /usr && \
49+ rm -rf /tmp/cmake-${CMAKE_VERSION} -linux-$(uname -m) cmake.tar && \
4950 yum clean all && \
5051 rm -rf /var/cache/yum /usr/man /usr/doc && \
5152 systemctl enable dhclient && \
You can’t perform that action at this time.
0 commit comments