Skip to content

Commit

Permalink
Update integration/linux/build/Dockerfile-centos.template
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 1c5fe82 commit 5f0ac4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/linux/build/Dockerfile-centos.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +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 \
%%IF VARIANT=7%%
&& sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf \
%%ENDIF%%
&& ( [ -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

0 comments on commit 5f0ac4c

Please sign in to comment.