Updated the url for docker distribution (#2325)

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
This commit is contained in:
Owais Kazi 2022-03-04 16:58:13 -08:00 committed by GitHub
parent d5e58a2f3d
commit 9224537704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 \\