Public | Automated Build

Last pushed: 10 days ago
Dockerfile
FROM centos:centos7 MAINTAINER Unicon, Inc. RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \ && rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm \ && yum -y install epel-release \ && yum -y update \ && yum -y install httpd mod_ssl php55w php55w-mbstring php55w-mcrypt php55w-pdo php55w-pear php55w-xml wget \ && yum -y clean all RUN ssp_version=1.15.0; \ ssp_hash=b96a2ac8f549f58a428cb4aa2e2873c9497751f613bac1340c94a7ee99ea5ca2; \ wget https://github.com/simplesamlphp/simplesamlphp/releases/download/v$ssp_version/simplesamlphp-$ssp_version.tar.gz \ && echo "$ssp_hash simplesamlphp-$ssp_version.tar.gz" | sha256sum -c - \ && cd /var \ && tar xzf /simplesamlphp-$ssp_version.tar.gz \ && mv simplesamlphp-$ssp_version simplesamlphp \ && rm /simplesamlphp-$ssp_version.tar.gz RUN echo $'\nSetEnv SIMPLESAMLPHP_CONFIG_DIR /var/simplesamlphp/config\nAlias /simplesaml /var/simplesamlphp/www\n \ <Directory /var/simplesamlphp/www>\n \ Require all granted\n \ </Directory>\n' \ >> /etc/httpd/conf/httpd.conf COPY httpd-foreground /usr/local/bin/ EXPOSE 80 443 CMD ["httpd-foreground"]
Source Repository