From 7f23919d4b02163415697574f67ff7b9d62dd3ab Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Fri, 27 Jan 2023 10:55:14 -0800 Subject: [PATCH] Use static yum repo file The file is generated from https://shibboleth.net/downloads/service-provider/RPMS/ and the OpenSUSE repo file doesn't exist anymore. --- Dockerfile | 5 +++-- shibboleth.repo | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 shibboleth.repo diff --git a/Dockerfile b/Dockerfile index dd10489..3cf4605 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,9 @@ ENV SHIBD_CONSISTENT_ADDRESS=true WORKDIR /etc/shibboleth -RUN curl -Ls http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo --output /etc/yum.repos.d/security:shibboleth.repo \ - && yum -y update \ +COPY shibboleth.repo /etc/yum.repos.d/ + +RUN yum -y update \ && yum -y install shibboleth-${SHIBD_VERSION} mysql-connector-odbc gettext mysql nc \ && yum -y clean all diff --git a/shibboleth.repo b/shibboleth.repo new file mode 100644 index 0000000..dabe005 --- /dev/null +++ b/shibboleth.repo @@ -0,0 +1,9 @@ +[shibboleth] +name=Shibboleth (CentOS_7) +# Please report any problems to https://shibboleth.atlassian.net/jira +type=rpm-md +mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/CentOS_7 +gpgcheck=1 +gpgkey=https://shibboleth.net/downloads/service-provider/RPMS/repomd.xml.key + https://shibboleth.net/downloads/service-provider/RPMS/cantor.repomd.xml.key +enabled=1