Skip to content

Commit

Permalink
[BUG] Docker distribution builds are failing. Switching to http://vau…
Browse files Browse the repository at this point in the history
…lt.centos.org (#2024)

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Feb 1, 2022
1 parent a597d4d commit 6c2f01a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion distribution/docker/src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \\
Expand Down

0 comments on commit 6c2f01a

Please sign in to comment.