mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 21:19:26 +02:00
manylinux: Use CentOS Vault repositories
Backported from thewtex/docker-centos-build@26f7fd3 CentOS 5 is no longer supported and requests to obtain information from the mirrors fails. However, the packages are still available on the "Vault" mirrors. Comment out the `mirrorlist` entries and set `enabled=0` in CentOS-Base.repo, add entries for 5.11 in CentOS-Vault.repo and mark them `enabled=1`.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
|
||||
ADD imagefiles/etc/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
|
||||
ADD imagefiles/etc/CentOS-Vault.repo /etc/yum.repos.d/CentOS-Vault.repo
|
||||
ADD imagefiles/etc/libselinux.repo /etc/yum.repos.d/libselinux.repo
|
||||
|
||||
ENV GOSU_VERSION 1.10
|
||||
RUN set -x \
|
||||
&& yum -y install epel-release \
|
||||
|
Reference in New Issue
Block a user