Permalink
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?
grouper_noVM/test-compose/www/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
42 lines (30 sloc)
1.57 KB
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
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"] |