[BUG] Docker distribution builds are failing. Switching to http://vault.centos.org (#2024)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This commit is contained in:
parent
a597d4daac
commit
6c2f01a045
|
@ -63,7 +63,9 @@ FROM ${base_image}
|
|||
|
||||
ENV OPENSEARCH_CONTAINER true
|
||||
|
||||
RUN for iter in {1..10}; do \\
|
||||
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-* && \\
|
||||
for iter in {1..10}; do \\
|
||||
${package_manager} update --setopt=tsflags=nodocs -y && \\
|
||||
${package_manager} install --setopt=tsflags=nodocs -y \\
|
||||
nc shadow-utils zip unzip && \\
|
||||
|
|
Loading…
Reference in New Issue