forked from internet2/InCommonTAP-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| FROM tier/shibboleth_sp:3.0.3_181201 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Shibboleth SP" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| RUN yum -y update; yum -y install php | ||
|
|
||
| ADD container_files/shibboleth2.xml /etc/shibboleth/ | ||
| ADD container_files/idp-metadata.xml /etc/shibboleth/ | ||
| ADD container_files/ssl.conf /etc/httpd/conf.d/ | ||
| ADD container_files/testsp.crt /etc/pki/tls/certs/ | ||
| ADD container_files/testsp.key /etc/pki/tls/private/ | ||
| ADD container_files/index.php /var/www/html/secure/ | ||
| COPY container_files/attribute-map.xml /etc/shibboleth/ | ||
| COPY container_files/sp-signing-key.pem /etc/shibboleth/ | ||
| COPY container_files/sp-signing-cert.pem /etc/shibboleth/ | ||
| COPY container_files/sp-encrypt-key.pem /etc/shibboleth/ | ||
| COPY container_files/sp-encrypt-cert.pem /etc/shibboleth/ | ||
|
|
||
| ## Uncomment the two lines below to generate new signing and encryption keys/certs for the Shibboleth SP | ||
| #RUN /etc/shibboleth/keygen.sh -o /etc/shibboleth/ -f -h my.special.name -y 10 -n sp-signing && \ | ||
| # /etc/shibboleth/keygen.sh -o /etc/shibboleth/ -f -h my.special.name -y 10 -n sp-encrypt | ||
|
|
||
|
|
||
| EXPOSE 8443 |