Updated the url for docker distribution (#2325)
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
This commit is contained in:
parent
d5e58a2f3d
commit
9224537704
|
@ -64,7 +64,7 @@ FROM ${base_image}
|
||||||
ENV OPENSEARCH_CONTAINER true
|
ENV OPENSEARCH_CONTAINER true
|
||||||
|
|
||||||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \\
|
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \\
|
||||||
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* && \\
|
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.epel.cloud|g' /etc/yum.repos.d/CentOS-Linux-* && \\
|
||||||
for iter in {1..10}; do \\
|
for iter in {1..10}; do \\
|
||||||
${package_manager} update --setopt=tsflags=nodocs -y && \\
|
${package_manager} update --setopt=tsflags=nodocs -y && \\
|
||||||
${package_manager} install --setopt=tsflags=nodocs -y \\
|
${package_manager} install --setopt=tsflags=nodocs -y \\
|
||||||
|
|
Loading…
Reference in New Issue