--- /dev/null
+[centos-sclo-rh]
+name=CentOS-6 - SCLo rh
+baseurl=http://vault.centos.org/centos/6/sclo/$basearch/rh/
+#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=6&repo=sclo-rh
+gpgcheck=1
+enabled=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
+
--- /dev/null
+[base]
+name=CentOS-6.10 - Base
+baseurl=http://vault.centos.org/6.10/os/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+[updates]
+name=CentOS-6.10 - Updates
+baseurl=http://vault.centos.org/6.10/updates/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+[extras]
+name=CentOS-6.10 - Extras
+baseurl=http://vault.centos.org/6.10/extras/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+[contrib]
+name=CentOS-6.10 - Contrib
+baseurl=http://vault.centos.org/6.10/contrib/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
+
+[centosplus]
+name=CentOS-6.10 - CentOSPlus
+baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+enabled=1
# This defines the distribution base layer
# Put only the bare minimum of common commands here, without dev tools
FROM centos:6 as dist-base
+COPY /builder-support/dockerfiles/Centos-Base-Vault.repo /etc/yum.repos.d/CentOS-Base.repo
ARG BUILDER_CACHE_BUSTER=
RUN which yum
RUN touch /var/lib/rpm/* && yum clean all
-RUN touch /var/lib/rpm/* && yum install -y --verbose epel-release centos-release-scl-rh && \
- yum install -y --nogpgcheck devtoolset-7-gcc-c++
+RUN touch /var/lib/rpm/* && yum install -y --verbose epel-release centos-release-scl-rh
+COPY /builder-support/dockerfiles/CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
+RUN touch /var/lib/rpm/* && yum install -y --nogpgcheck devtoolset-7-gcc-c++
# Enable IUS Community Repository (for Python 3.6)
RUN curl https://setup.ius.io/ | sh