Skip to content

Commit f8ece4c

Browse files
committed
Add patchelf installation in static-gnu Dockerfile
1 parent 7668a27 commit f8ece4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

static-builder-gnu.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ RUN curl -o cmake.tar.gz -fsSL https://github.com/Kitware/CMake/releases/downloa
6868
tar -xzf cmake.tar.gz -C /cmake --strip-components 1 && \
6969
rm cmake.tar.gz
7070

71+
# install patchelf
72+
RUN curl -fsSL -o patchelf.tar.gz https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-$(uname -m).tar.gz && \
73+
mkdir -p /patchelf && \
74+
tar -xzf patchelf.tar.gz -C /patchelf --strip-components=1 && \
75+
cp /patchelf/bin/patchelf /usr/bin/ && \
76+
rm patchelf.tar.gz
77+
7178
# install build essentials
7279
RUN yum install -y \
7380
perl \

0 commit comments

Comments
 (0)