Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@chubing
Latest commit 2c17c2f Oct 15, 2017 History
1 contributor

Users who have contributed to this file

42 lines (30 sloc) 1.57 KB
FROM tier/shibboleth_sp
#set labels
LABEL Vendor="Internet2"
LABEL ImageType="Web Server to front Grouper UI"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$VERSION
RUN yum update -y
# Replace the contents of the files in the following 2 lines with web server cert and private key
COPY container_files/httpd/localhost.crt /etc/pki/tls/certs
COPY container_files/httpd/localhost.key /etc/pki/tls/private
# Replace the contents of the files in the following 2 lines with shibboleth cert and private key
COPY container_files/shibboleth/sp-cert.pem /etc/shibboleth
COPY container_files/shibboleth/sp-key.pem /etc/shibboleth
COPY container_files/shibboleth/federation-metadata.xml /etc/shibboleth
# Make sure to modify the entityID value in this file with that of your SP
COPY container_files/shibboleth/shibboleth2.xml /etc/shibboleth/shibboleth2.xml
# Intermediate cert for certs issued through the InCommon Cert Service
COPY container_files/httpd/comodo.cer /etc/pki/tls/certs
COPY container_files/shibboleth/attribute-map.xml /etc/shibboleth
COPY container_files/bin/httpd-shib-foreground /opt/bin/
# Uncomment the following line to turn on shib SP debugging
COPY container_files/shibboleth/shibd.logger /etc/shibboleth/shibd.logger
COPY container_files/httpd/grouper-www.conf /etc/httpd/conf.d/
COPY container_files/httpd/logout.php /var/www/cgi-bin/logout.php
COPY container_files/bin/startup.sh /usr/bin/startup.sh
RUN chmod +x /usr/bin/startup.sh && \
chmod +x /opt/bin/httpd-shib-foreground && \
cp /dev/null /etc/httpd/conf.d/ssl.conf
CMD ["/usr/bin/startup.sh"]