Skip to content

Commit

Permalink
Use static yum repo file
Browse files Browse the repository at this point in the history
The file is generated from
https://shibboleth.net/downloads/service-provider/RPMS/ and the OpenSUSE
repo file doesn't exist anymore.
  • Loading branch information
xcompass committed Jan 27, 2023
1 parent 1abdcca commit 7f23919
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions shibboleth.repo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7f23919

Please sign in to comment.