Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
paired down extraneous content
chubing committed Sep 22, 2017
1 parent bfc5d29 commit 5351414
Showing 1 changed file with 3 additions and 34 deletions.
37 changes: 3 additions & 34 deletions www/Dockerfile
@@ -2,41 +2,10 @@ FROM tier/shibboleth_sp


#set labels
LABEL Vendor="Internet2"
LABEL ImageType="JIRA for COManage"
LABEL Vendor="TIER"
LABEL ImageType="Shibboleth SP"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$VERSION


RUN yum update -y && \
curl http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo -o /etc/yum.repos.d/security.repo && \
yum clean all && \
rpm --import http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7//repodata/repomd.xml.key && \
yum -y install shibboleth && \
yum -y install mod_ssl && \
yum -y install php && \
yum -y install wget && \
yum -y install epel-release

# Secrets live in an encrypted S3 Bucket with locked down IAM policy
#RUN aws s3 cp $CONFIG_BUCKET/cert/localhost.crt /etc/pki/tls/certs && \
# aws s3 cp $CONFIG_BUCKET/cert/localhost.key /etc/pki/tls/private && \
# aws s3 cp $CONFIG_BUCKET/shib/attribute-map.xml /etc/shibboleth && \
# aws s3 cp $CONFIG_BUCKET/shib/sp-cert.pem /etc/shibboleth && \
# aws s3 cp $CONFIG_BUCKET/shib/sp-key.pem /etc/shibboleth && \
# aws s3 cp s3://tier-foundation-host-configs/general_metadata/login.adm.internet2.edu-metadata.xml /etc/shibboleth && \
# cp /dev/null /etc/httpd/conf.d/ssl.conf


#ADD container_files/bin/startup.sh /usr/bin/startup.sh
#COPY container_files/bin/httpd-shib-foreground /opt/bin/
#COPY container_files/httpd/www.conf /etc/httpd/conf.d/
#COPY container_files/shibboleth/shibboleth2.xml /etc/shibboleth/shibboleth2.xml
#COPY container_files/shibboleth/shibd.logger /etc/shibboleth/shibd.logger
#COPY container_files/httpd/logout.php /var/www/cgi-bin/logout.php
#COPY container_files/httpd/comodo.cer /etc/pki/tls/certs
#RUN chmod +x /usr/bin/startup.sh
#RUN chmod +x /opt/bin/httpd-shib-foreground

CMD ["/usr/bin/startup.sh"]
RUN yum update -y

0 comments on commit 5351414

Please sign in to comment.