From 53514149e22af87c36530ef08cb080858beb6854 Mon Sep 17 00:00:00 2001 From: Christopher hubing <chubing@internet2.edu> Date: Fri, 22 Sep 2017 20:02:52 +0000 Subject: [PATCH] paired down extraneous content --- www/Dockerfile | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/www/Dockerfile b/www/Dockerfile index bce6cee..2e14eb1 100644 --- a/www/Dockerfile +++ b/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