File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,6 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then \
6262 echo "source scl_source enable devtoolset-10" >> /etc/bashrc && \
6363 source /etc/bashrc
6464
65- # install newer cmake to build some newer libs
66- RUN curl -o cmake.tar.gz -fsSL https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-linux-$(uname -m).tar.gz && \
67- mkdir /cmake && \
68- tar -xzf cmake.tar.gz -C /cmake --strip-components 1 && \
69- rm cmake.tar.gz
70-
7165# install build essentials
7266RUN yum install -y \
7367 perl \
@@ -95,6 +89,15 @@ RUN yum install -y \
9589 ln -sf /usr/local/bin/make /usr/bin/make && \
9690 cd .. && \
9791 rm -Rf make* && \
92+ curl -o cmake.tar.gz -fsSL https://github.com/Kitware/CMake/releases/download/v4.1.2/cmake-4.1.2-linux-$(uname -m).tar.gz && \
93+ mkdir /cmake && \
94+ tar -xzf cmake.tar.gz -C /cmake --strip-components 1 && \
95+ rm cmake.tar.gz && \
96+ curl -fsSL -o patchelf.tar.gz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-$(uname -m).tar.gz && \
97+ mkdir -p /patchelf && \
98+ tar -xzf patchelf.tar.gz -C /patchelf --strip-components=1 && \
99+ cp /patchelf/bin/patchelf /usr/bin/ && \
100+ rm patchelf.tar.gz && \
98101 if [ "$(uname -m)" = "aarch64" ]; then \
99102 GO_ARCH="arm64" ; \
100103 else \
You can’t perform that action at this time.
0 commit comments