mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
base arch instead of hardcoded x86_64
This commit is contained in:
@@ -74,7 +74,7 @@ RUN echo "source scl_source enable devtoolset-10" >> /etc/bashrc
|
|||||||
RUN source /etc/bashrc
|
RUN source /etc/bashrc
|
||||||
RUN yum install -y which
|
RUN yum install -y which
|
||||||
|
|
||||||
RUN curl -fsSL -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz && \
|
RUN curl -fsSL -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-$BASE_ARCH.tar.gz && \
|
||||||
mkdir -p /patchelf && \
|
mkdir -p /patchelf && \
|
||||||
tar -xzf patchelf.tgz -C /patchelf --strip-components=1 && \
|
tar -xzf patchelf.tgz -C /patchelf --strip-components=1 && \
|
||||||
cp /patchelf/bin/patchelf /usr/bin/
|
cp /patchelf/bin/patchelf /usr/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user