diff --git a/Dockerfile b/Dockerfile index 22e90c3..9b6ffe0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM centos:7 +FROM rockylinux:9.3 LABEL maintainer="pan.luo@ubc.ca" @@ -6,7 +6,7 @@ LABEL maintainer="pan.luo@ubc.ca" 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 @@ -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/ diff --git a/shibboleth.repo b/shibboleth.repo index dabe005..509af03 100644 --- a/shibboleth.repo +++ b/shibboleth.repo @@ -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