mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 14:15:44 +01:00
Merge pull request #377 from thewtex/manylinux2014-yum
manylinux2014-x64: Add yum libcurl workaround
This commit is contained in:
commit
2fd1b29fb6
@ -8,6 +8,11 @@ ENV DEFAULT_DOCKCROSS_IMAGE dockcross/manylinux2014-x64
|
|||||||
|
|
||||||
#include "common.docker"
|
#include "common.docker"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||||
ENV CROSS_ROOT /opt/rh/devtoolset-8/root/usr/bin
|
ENV CROSS_ROOT /opt/rh/devtoolset-8/root/usr/bin
|
||||||
ENV AS=${CROSS_ROOT}/as \
|
ENV AS=${CROSS_ROOT}/as \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user