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