Skip to content

Commit bcea200

Browse files
committed
base arch instead of hardcoded x86_64
1 parent fcf2c96 commit bcea200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/spc-gnu-docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ RUN echo "source scl_source enable devtoolset-10" >> /etc/bashrc
7474
RUN source /etc/bashrc
7575
RUN yum install -y which
7676
77-
RUN curl -fsSL -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz && \
77+
RUN curl -fsSL -o patchelf.tgz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-$BASE_ARCH.tar.gz && \
7878
mkdir -p /patchelf && \
7979
tar -xzf patchelf.tgz -C /patchelf --strip-components=1 && \
8080
cp /patchelf/bin/patchelf /usr/bin/

0 commit comments

Comments
 (0)