Skip to content

Commit 2fd1b29

Browse files
authored
Merge pull request dockcross#377 from thewtex/manylinux2014-yum
manylinux2014-x64: Add yum libcurl workaround
2 parents 6a73b6f + 58aaa9e commit 2fd1b29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

manylinux2014-x64/Dockerfile.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ ENV DEFAULT_DOCKCROSS_IMAGE dockcross/manylinux2014-x64
88

99
#include "common.docker"
1010

11+
# Override yum to work around the problem with newly built libcurl.so.4
12+
# https://access.redhat.com/solutions/641093
13+
RUN echo $'#!/bin/bash\n\
14+
LD_PRELOAD=/usr/lib64/libcurl.so.4 /usr/bin/yum "$@"' > /usr/local/bin/yum && chmod a+x /usr/local/bin/yum
15+
1116
ENV CROSS_TRIPLE x86_64-linux-gnu
1217
ENV CROSS_ROOT /opt/rh/devtoolset-8/root/usr/bin
1318
ENV AS=${CROSS_ROOT}/as \

0 commit comments

Comments
 (0)