Skip to content

Commit e711072

Browse files
irozzo-1Apoiana
authored andcommitted
chore(images/builder): update cmake version to 3.24.4
Signed-off-by: irozzo-1A <[email protected]>
1 parent d309955 commit e711072

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

images/builder/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 && \

0 commit comments

Comments
 (0)