From de20e1203f9f425ab2ebd90121663258930df7cc Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Fri, 24 Jan 2025 15:30:55 +0100 Subject: [PATCH] Update Docker setups for CentOS 7 because EOL Adjust Docker setups for CentOS 7 to use vault repositories because of CentOS 7's EOL. --- docker/images/davrods/CentOS-Base.repo | 43 +++++++++++++++++++ docker/images/davrods/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ docker/images/davrods/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../images/davrods/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/davrods/Dockerfile | 6 +++ docker/images/yoda_eus/CentOS-Base.repo | 43 +++++++++++++++++++ .../images/yoda_eus/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ docker/images/yoda_eus/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../images/yoda_eus/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/yoda_eus/Dockerfile | 6 +++ .../images/yoda_irods_icat/CentOS-Base.repo | 43 +++++++++++++++++++ .../yoda_irods_icat/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ .../yoda_irods_icat/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../yoda_irods_icat/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/yoda_irods_icat/Dockerfile | 6 +++ docker/images/yoda_portal/CentOS-Base.repo | 43 +++++++++++++++++++ .../yoda_portal/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ .../images/yoda_portal/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../yoda_portal/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/yoda_portal/Dockerfile | 6 +++ docker/images/yoda_public/CentOS-Base.repo | 43 +++++++++++++++++++ .../yoda_public/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ .../images/yoda_public/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../yoda_public/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/yoda_public/Dockerfile | 6 +++ docker/images/yoda_web_mock/CentOS-Base.repo | 43 +++++++++++++++++++ .../yoda_web_mock/CentOS-SCLo-scl-rh.repo | 33 ++++++++++++++ .../images/yoda_web_mock/CentOS-SCLo-scl.repo | 33 ++++++++++++++ .../yoda_web_mock/CentOS-x86_64-kernel.repo | 15 +++++++ docker/images/yoda_web_mock/Dockerfile | 6 +++ 30 files changed, 780 insertions(+) create mode 100644 docker/images/davrods/CentOS-Base.repo create mode 100644 docker/images/davrods/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/davrods/CentOS-SCLo-scl.repo create mode 100644 docker/images/davrods/CentOS-x86_64-kernel.repo create mode 100644 docker/images/yoda_eus/CentOS-Base.repo create mode 100644 docker/images/yoda_eus/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/yoda_eus/CentOS-SCLo-scl.repo create mode 100644 docker/images/yoda_eus/CentOS-x86_64-kernel.repo create mode 100644 docker/images/yoda_irods_icat/CentOS-Base.repo create mode 100644 docker/images/yoda_irods_icat/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/yoda_irods_icat/CentOS-SCLo-scl.repo create mode 100644 docker/images/yoda_irods_icat/CentOS-x86_64-kernel.repo create mode 100644 docker/images/yoda_portal/CentOS-Base.repo create mode 100644 docker/images/yoda_portal/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/yoda_portal/CentOS-SCLo-scl.repo create mode 100644 docker/images/yoda_portal/CentOS-x86_64-kernel.repo create mode 100644 docker/images/yoda_public/CentOS-Base.repo create mode 100644 docker/images/yoda_public/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/yoda_public/CentOS-SCLo-scl.repo create mode 100644 docker/images/yoda_public/CentOS-x86_64-kernel.repo create mode 100644 docker/images/yoda_web_mock/CentOS-Base.repo create mode 100644 docker/images/yoda_web_mock/CentOS-SCLo-scl-rh.repo create mode 100644 docker/images/yoda_web_mock/CentOS-SCLo-scl.repo create mode 100644 docker/images/yoda_web_mock/CentOS-x86_64-kernel.repo diff --git a/docker/images/davrods/CentOS-Base.repo b/docker/images/davrods/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/davrods/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/davrods/CentOS-SCLo-scl-rh.repo b/docker/images/davrods/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/davrods/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/davrods/CentOS-SCLo-scl.repo b/docker/images/davrods/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/davrods/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/davrods/CentOS-x86_64-kernel.repo b/docker/images/davrods/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/davrods/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/davrods/Dockerfile b/docker/images/davrods/Dockerfile index 7fbf6fdd1..4084bed64 100644 --- a/docker/images/davrods/Dockerfile +++ b/docker/images/davrods/Dockerfile @@ -13,6 +13,12 @@ ENV YUM_IRODS_REPO_SIGNING_KEY_LOC="https://packages.irods.org/irods-signing-key ENV DAVRODS_RPM_URL="https://github.com/UtrechtUniversity/davrods/releases/download/4.2.11_1.5.0/" ENV DAVRODS_RPM_PACKAGE="davrods-4.2.11_1.5.0-1.rpm" +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Install common tools # hadolint ignore=DL3033 RUN yum install -y epel-release wget && \ diff --git a/docker/images/yoda_eus/CentOS-Base.repo b/docker/images/yoda_eus/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/yoda_eus/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_eus/CentOS-SCLo-scl-rh.repo b/docker/images/yoda_eus/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/yoda_eus/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_eus/CentOS-SCLo-scl.repo b/docker/images/yoda_eus/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/yoda_eus/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_eus/CentOS-x86_64-kernel.repo b/docker/images/yoda_eus/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/yoda_eus/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_eus/Dockerfile b/docker/images/yoda_eus/Dockerfile index 14015c020..af1150bb1 100644 --- a/docker/images/yoda_eus/Dockerfile +++ b/docker/images/yoda_eus/Dockerfile @@ -8,6 +8,12 @@ ENV YODA_EUS_BRANCH "$TAG" ENV YODA_PORTAL_REPO "https://github.com/UtrechtUniversity/yoda-portal.git" ENV YODA_PORTAL_BRANCH "$TAG" +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Network settings EXPOSE 80 EXPOSE 443 diff --git a/docker/images/yoda_irods_icat/CentOS-Base.repo b/docker/images/yoda_irods_icat/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/yoda_irods_icat/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_irods_icat/CentOS-SCLo-scl-rh.repo b/docker/images/yoda_irods_icat/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/yoda_irods_icat/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_irods_icat/CentOS-SCLo-scl.repo b/docker/images/yoda_irods_icat/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/yoda_irods_icat/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_irods_icat/CentOS-x86_64-kernel.repo b/docker/images/yoda_irods_icat/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/yoda_irods_icat/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_irods_icat/Dockerfile b/docker/images/yoda_irods_icat/Dockerfile index 68f669a65..358e41bf7 100644 --- a/docker/images/yoda_irods_icat/Dockerfile +++ b/docker/images/yoda_irods_icat/Dockerfile @@ -19,6 +19,12 @@ ENV PRE_BUILD_RULESET_DEPENDENCIES "yes" EXPOSE 1247 EXPOSE 20000-20199 +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Suggested base image configuration for systemd, as per # https://hub.docker.com/_/centos WORKDIR /lib/systemd/system/sysinit.target.wants/ diff --git a/docker/images/yoda_portal/CentOS-Base.repo b/docker/images/yoda_portal/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/yoda_portal/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_portal/CentOS-SCLo-scl-rh.repo b/docker/images/yoda_portal/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/yoda_portal/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_portal/CentOS-SCLo-scl.repo b/docker/images/yoda_portal/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/yoda_portal/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_portal/CentOS-x86_64-kernel.repo b/docker/images/yoda_portal/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/yoda_portal/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_portal/Dockerfile b/docker/images/yoda_portal/Dockerfile index aca2d4858..8e6f48551 100644 --- a/docker/images/yoda_portal/Dockerfile +++ b/docker/images/yoda_portal/Dockerfile @@ -10,6 +10,12 @@ ENV YODA_PORTAL_BRANCH="$TAG" EXPOSE 80 EXPOSE 443 +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Install common tools # hadolint ignore=DL3033 RUN yum install -y epel-release wget git && \ diff --git a/docker/images/yoda_public/CentOS-Base.repo b/docker/images/yoda_public/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/yoda_public/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_public/CentOS-SCLo-scl-rh.repo b/docker/images/yoda_public/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/yoda_public/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_public/CentOS-SCLo-scl.repo b/docker/images/yoda_public/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/yoda_public/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_public/CentOS-x86_64-kernel.repo b/docker/images/yoda_public/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/yoda_public/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_public/Dockerfile b/docker/images/yoda_public/Dockerfile index dbe904f6b..647eed058 100644 --- a/docker/images/yoda_public/Dockerfile +++ b/docker/images/yoda_public/Dockerfile @@ -10,6 +10,12 @@ ENV MOAI_BRANCH "$TAG" EXPOSE 80 EXPOSE 443 +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Install common tools # hadolint ignore=DL3033 RUN yum install -y epel-release wget git nc sudo && \ diff --git a/docker/images/yoda_web_mock/CentOS-Base.repo b/docker/images/yoda_web_mock/CentOS-Base.repo new file mode 100644 index 000000000..bb9193ffa --- /dev/null +++ b/docker/images/yoda_web_mock/CentOS-Base.repo @@ -0,0 +1,43 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-$releasever - Updates +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra +baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_web_mock/CentOS-SCLo-scl-rh.repo b/docker/images/yoda_web_mock/CentOS-SCLo-scl-rh.repo new file mode 100644 index 000000000..26516fa0d --- /dev/null +++ b/docker/images/yoda_web_mock/CentOS-SCLo-scl-rh.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-rh.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-rh] +name=CentOS-7 - SCLo rh +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/rh/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-testing] +name=CentOS-7 - SCLo rh Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/rh/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-source] +name=CentOS-7 - SCLo rh Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-rh-debuginfo] +name=CentOS-7 - SCLo rh Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_web_mock/CentOS-SCLo-scl.repo b/docker/images/yoda_web_mock/CentOS-SCLo-scl.repo new file mode 100644 index 000000000..a70f5ec24 --- /dev/null +++ b/docker/images/yoda_web_mock/CentOS-SCLo-scl.repo @@ -0,0 +1,33 @@ +# CentOS-SCLo-sclo.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more +# information + +[centos-sclo-sclo] +name=CentOS-7 - SCLo sclo +baseurl=http://vault.centos.org/centos/7/sclo/$basearch/sclo/ +#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-testing] +name=CentOS-7 - SCLo sclo Testing +baseurl=http://buildlogs.centos.org/centos/7/sclo/$basearch/sclo/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-source] +name=CentOS-7 - SCLo sclo Sources +baseurl=http://vault.centos.org/centos/7/sclo/Source/sclo/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo + +[centos-sclo-sclo-debuginfo] +name=CentOS-7 - SCLo sclo Debuginfo +baseurl=http://debuginfo.centos.org/centos/7/sclo/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/docker/images/yoda_web_mock/CentOS-x86_64-kernel.repo b/docker/images/yoda_web_mock/CentOS-x86_64-kernel.repo new file mode 100644 index 000000000..aef60054b --- /dev/null +++ b/docker/images/yoda_web_mock/CentOS-x86_64-kernel.repo @@ -0,0 +1,15 @@ +[centos-kernel] +name=CentOS LTS Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra +baseurl=http://vault.centos.org/altarch/7/kernel/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +[centos-kernel-experimental] +name=CentOS Experimental Kernels for $basearch +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra +baseurl=http://vault.centos.org/altarch/7/experimental/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 diff --git a/docker/images/yoda_web_mock/Dockerfile b/docker/images/yoda_web_mock/Dockerfile index f68ab8303..67a2bf830 100644 --- a/docker/images/yoda_web_mock/Dockerfile +++ b/docker/images/yoda_web_mock/Dockerfile @@ -10,6 +10,12 @@ ENV YODA_MOCK_BRANCH "$TAG" EXPOSE 80 EXPOSE 443 +# Update CentOS repos to vault +COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo +COPY CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo +COPY CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo +COPY CentOS-x86_64-kernel.repo /etc/yum.repos.d/CentOS-x86_64-kernel.repo + # Install common tools # hadolint ignore=DL3033 RUN yum install -y epel-release wget git nc && \