Try to stabilize docker build by using https (#11070)
Motivation: At the moment we use http to download rpms, let's switch to https Modifications: Use https for rpms Result: Hopefully more stable docker image builds
This commit is contained in:
parent
172472c0c0
commit
2e9557c51c
@ -1,7 +1,7 @@
|
||||
FROM centos:6.10
|
||||
|
||||
# Update as we need to use the vault now.
|
||||
RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\//baseurl=http:\/\/vault.centos.org\/6.10\//g' /etc/yum.repos.d/CentOS-Base.repo
|
||||
RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\//baseurl=https:\/\/vault.centos.org\/6.10\//g' /etc/yum.repos.d/CentOS-Base.repo
|
||||
|
||||
# install dependencies
|
||||
RUN yum install -y \
|
||||
|
Loading…
Reference in New Issue
Block a user