mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 11:25:35 +08:00
fix installing patchelf
This commit is contained in:
@@ -72,7 +72,10 @@ RUN yum update -y && \
|
|||||||
yum install -y devtoolset-10-gcc-*
|
yum install -y devtoolset-10-gcc-*
|
||||||
RUN echo "source scl_source enable devtoolset-10" >> /etc/bashrc
|
RUN echo "source scl_source enable devtoolset-10" >> /etc/bashrc
|
||||||
RUN source /etc/bashrc
|
RUN source /etc/bashrc
|
||||||
RUN yum install -y which patchelf
|
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 -o cmake.tgz -fsSL https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-linux-$BASE_ARCH.tar.gz && \
|
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 && \
|
mkdir /cmake && \
|
||||||
|
|||||||
Reference in New Issue
Block a user