From 9de5c621361ba2c634253a3858018e37c897a81f Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Tue, 17 Jun 2025 12:34:56 +0700 Subject: [PATCH] extract elsewhere temporarily --- bin/spc-gnu-docker | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/spc-gnu-docker b/bin/spc-gnu-docker index bc907e2a..b69e0710 100755 --- a/bin/spc-gnu-docker +++ b/bin/spc-gnu-docker @@ -74,8 +74,10 @@ RUN echo "source scl_source enable devtoolset-10" >> /etc/bashrc RUN source /etc/bashrc RUN yum install -y which -RUN curl -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-$BASE_ARCH.tar.gz && \ - tar -xzf patchelf.tgz -C /usr +RUN curl -fsSL -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz && \ + mkdir -p /patchelf && \ + tar -xzf patchelf.tgz -C /patchelf --strip-components=1 && \ + cp /patchelf/bin/patchelf /usr/bin/ RUN curl -o cmake.tgz -fsSL https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-linux-$BASE_ARCH.tar.gz && \ mkdir /cmake && \