Fix "yum" on manylinux2014-x86

This commit is contained in:
Andreas Motl 2021-01-31 13:39:31 +01:00
parent 72b83fc276
commit 9b88520f27

View File

@ -13,7 +13,7 @@ ENV DEFAULT_DOCKCROSS_IMAGE dockcross/manylinux2014-x86
# Override yum to work around the problem with newly built libcurl.so.4
# https://access.redhat.com/solutions/641093
RUN echo $'#!/bin/bash\n\
LD_PRELOAD=/usr/lib64/libcurl.so.4 /usr/bin/yum "$@"' > /usr/local/bin/yum && chmod a+x /usr/local/bin/yum
LD_PRELOAD=/usr/lib/libcurl.so.4 /usr/bin/yum "$@"' > /usr/local/bin/yum && chmod a+x /usr/local/bin/yum
ENV CROSS_TRIPLE i686-linux-gnu
ENV CROSS_ROOT /opt/rh/devtoolset-9/root/usr/bin