Skip to content

Commit

Permalink
Fix centos:8: yum-plugin-fastestmirror is not installed by default (#112
Browse files Browse the repository at this point in the history
)

Co-authored-by: Elvis Pranskevichus <[email protected]>
  • Loading branch information
fantix and elprans authored Oct 8, 2024
1 parent e14b9ba commit 3a29a7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration/linux/build/Dockerfile-centos.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ENV GCC_VERSION 11
# baseurl. Switch to the archive.kernel.org mirror while we are at it.
RUN set -ex \
&& ulimit -n 1024 \
&& sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf \
&& ( [ -e /etc/yum/pluginconf.d/fastestmirror.conf ] && sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf || true ) \
&& sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
&& sed -i 's|# \?baseurl=http://mirror.centos.org|baseurl=https://archive.kernel.org/centos-vault/|g' /etc/yum.repos.d/CentOS-* \
&& yum update -y \
Expand Down
2 changes: 1 addition & 1 deletion integration/linux/build/centos-7/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration/linux/build/centos-8/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3a29a7e

Please sign in to comment.