File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
build-scripts/manylinux-container-image Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 2626 fi; \
2727 fi
2828
29+ RUN \
30+ if [ $(uname -m) = "x86_64" ]; \
31+ then \
32+ if stat /etc/redhat-release 1>&2 2>/dev/null; then \
33+ yum -y install binutils perl perl-IPC-Cmd && \
34+ yum -y clean all && \
35+ rm -rf /var/cache/yum; \
36+ fi; \
37+ fi
38+
39+ # This is done as two separate steps because readelf (binutils) is not available on
40+ # aarch64.
41+ RUN \
42+ if [ $(uname -m) = "aarch64" ]; \
43+ then \
44+ if stat /etc/redhat-release 1>&2 2>/dev/null; then \
45+ yum -y install perl perl-IPC-Cmd && \
46+ yum -y clean all && \
47+ rm -rf /var/cache/yum; \
48+ fi; \
49+ fi
50+
2951ADD build_utils.sh /root/build_utils.sh
3052ADD install_perl.sh /root/install_perl.sh
3153RUN ./install_perl.sh "${RELEASE}"
You can’t perform that action at this time.
0 commit comments