Skip to content

Commit

Permalink
Switch to RockyLinux 9 and update shibd to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Oct 22, 2024
1 parent 0540296 commit acb00eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM centos:7
FROM rockylinux:9.3

LABEL maintainer="pan.luo@ubc.ca"

# https://wiki.shibboleth.net/confluence/display/SP3/LinuxRH6
ENV LD_LIBRARY_PATH=/opt/shibboleth/lib64:$LD_LIBRARY_PATH
# Shibd log level
ENV LOG_LEVEL=INFO
ENV SHIBD_VERSION=3.2.1-3.1
ENV SHIBD_VERSION=3.5.0-1.el9
ENV SHIBD_REMOTE_USER=somerandomname
ENV SHIBD_CONSISTENT_ADDRESS=true
ENV SHIBBOLETH_IDP_METADATA_BACKUPFILE=/var/cache/shibboleth/shibboleth-metadata-idp.xml
Expand All @@ -19,7 +19,9 @@ WORKDIR /etc/shibboleth
COPY shibboleth.repo /etc/yum.repos.d/

RUN yum -y update \
&& yum -y install shibboleth-${SHIBD_VERSION} mysql-connector-odbc gettext mysql nc \
&& dnf install -y 'dnf-command(config-manager)' \
&& dnf config-manager --set-enabled crb \
&& yum -y install shibboleth-${SHIBD_VERSION} mariadb-connector-odbc gettext mysql nc \
&& yum -y clean all

COPY shibboleth2.xml-template /etc/shibboleth/
Expand Down
4 changes: 2 additions & 2 deletions shibboleth.repo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[shibboleth]
name=Shibboleth (CentOS_7)
name=Shibboleth (rockylinux9)
# Please report any problems to https://shibboleth.atlassian.net/jira
type=rpm-md
mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/CentOS_7
mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/rockylinux9
gpgcheck=1
gpgkey=https://shibboleth.net/downloads/service-provider/RPMS/repomd.xml.key
https://shibboleth.net/downloads/service-provider/RPMS/cantor.repomd.xml.key
Expand Down

0 comments on commit acb00eb

Please sign in to comment.