Commit 722fe5e7 authored by Raphael Defosseux's avatar Raphael Defosseux

fix(build): allowing more explicit attempts for epel download

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent 4c5b9799
......@@ -137,7 +137,6 @@ check_supported_distribution() {
"rhel8.5") return 0 ;;
"rhel8.6") return 0 ;;
"rhel8.7") return 0 ;;
#"centos7") return 0 ;;
esac
return 1
}
......@@ -297,7 +296,10 @@ check_enable_epel_repos() {
echo "EPEL repos already present. Good."
else
echo "EPEL repos not present. Installing them."
$SUDO $INSTALLER install $OPTION https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget --tries=4 --retry-connrefused --wait=8 \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$SUDO $INSTALLER install $OPTION epel-release-latest-7.noarch.rpm
rm -f epel-release-latest-7.noarch.rpm
fi
fi
}
......
......@@ -47,6 +47,7 @@ RUN rm -f /etc/rhsm-host && \
git \
diffutils \
libasan \
wget \
file && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment