Public | Automated Build

Last pushed: 2 months 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.4; \ ssp_hash=349cf5d9f9ecbbced0e6f6794d26d5242fc9dafbd34268aeeb200182c24f88a5; \ 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