Skip to content
Permalink
40533b3725
Switch branches/tags

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?
Go to file
Latest commit 40533b3 Aug 25, 2016 History
0 contributors

Users who have contributed to this file

39 lines (33 sloc) 1.14 KB
FROM bigfleet/centos7base
# Define args and set a default value
ARG maintainer=tier
ARG imagename=shibboleth_sp
ARG version=2.3.0
MAINTAINER $maintainer
LABEL Vendor="Internet2"
LABEL ImageType="Base"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$version
LABEL Build docker build --rm --tag $maintainer/$imagename .
RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \
http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo \
&& yum -y update \
&& yum -y install \
dos2unix \
httpd \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
mlocate \
mod_ssl \
shibboleth.x86_64 \
&& yum clean all \
&& rm /etc/httpd/conf.d/autoindex.conf \
&& rm /etc/httpd/conf.d/ssl.conf \
&& rm /etc/httpd/conf.d/userdir.conf \
&& rm /etc/httpd/conf.d/welcome.conf \
&& mkdir -p /opt/grouper \
&& curl -o /opt/grouper/grouperInstaller.jar http://software.internet2.edu/grouper/release/$version/grouperInstaller.jar
COPY httpd-shib-foreground /usr/local/bin/
EXPOSE 80 443
CMD ["httpd-shib-foreground"]