Update CentOS 6 repositories location

parent 01af0c2b
Pipeline #60170 waiting for manual action with stage
......@@ -9,6 +9,8 @@ ENV LUTOK_VERSION 0.4
RUN if [ "@ARCH@" = "i386" ]; then echo "i686" > /etc/yum/vars/arch; echo "i386" > /etc/yum/vars/basearch; fi
RUN if [ "@VERSION@" = "centos8" ]; then yum -y install yum-utils && yum config-manager --enable PowerTools; fi
# CentOS 6 is EOL, repositories were moved to vault.
RUN if [ "@VERSION@" = "centos6" ]; then sed -i -e 's/mirror\./vault\./g' -e 's/^#baseurl=/baseurl=/' -e 's/^mirrorlist=/#mirrorlist=/' /etc/yum.repos.d/CentOS-Base.repo; fi
RUN yum -y upgrade
RUN yum -y install epel-release
RUN yum -y install \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment