diff --git a/Dockerfile b/Dockerfile index 0c6230a..4651b8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM centos:centos7 # Define args and set a default value ARG maintainer=tier ARG imagename=shibboleth_sp -ARG version=3.2.3 -ARG TIERVERSION=20210707 +ARG version=3.3.0 +ARG TIERVERSION=20211202 MAINTAINER $maintainer LABEL Vendor="Internet2" @@ -23,9 +23,8 @@ RUN rm -fr /var/cache/yum/* && yum clean all && yum -y install --setopt=tsflags= yum clean all #install shibboleth, cleanup httpd -RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \ - http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo \ - && yum -y install shibboleth.x86_64 \ +COPY container_files/shibboleth/shibboleth.repo /etc/yum.repos.d/security:shibboleth.repo +RUN yum -y install shibboleth.x86_64 \ && yum clean all \ && rm /etc/httpd/conf.d/autoindex.conf \ && rm /etc/httpd/conf.d/userdir.conf \ diff --git a/container_files/shibboleth/shibboleth.repo b/container_files/shibboleth/shibboleth.repo new file mode 100644 index 0000000..8994175 --- /dev/null +++ b/container_files/shibboleth/shibboleth.repo @@ -0,0 +1,10 @@ +[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 +