Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored Feb 14, 2019
1 parent f11afd2 commit b8f67f0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Components/SP/Dockerfile
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

0 comments on commit b8f67f0

Please sign in to comment.