Skip to content

bump SP to 3.3.0, switch yum repo #18

merged 1 commit into from Dec 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
bump SP to 3.3.0, switch yum repo
pcaskey committed Dec 2, 2021
commit 5f0034a295d1d7d548a28478152140f60289600e
9 changes: 4 additions & 5 deletions 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 \
10 changes: 10 additions & 0 deletions 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