Skip to content
Permalink
Newer
Older
100644 28 lines (22 sloc) 860 Bytes
1
FROM bigfleet/centos7base
2
3
# Define args and set a default value
4
ARG maintainer=tier
5
ARG imagename=shibboleth_sp
6
ARG version=1.0
7
8
MAINTAINER $maintainer
9
LABEL Vendor="Internet2"
10
LABEL ImageType="Base"
11
LABEL ImageName=$imagename
12
LABEL ImageOS=centos7
13
LABEL Version=$version
14
15
LABEL Build docker build --rm --tag $maintainer/$imagename .
16
17
RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \
18
http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo \
19
&& yum -y update && yum -y install shibboleth.x86_64 httpd mod_ssl && yum clean all \
20
&& rm /etc/httpd/conf.d/autoindex.conf \
21
&& rm /etc/httpd/conf.d/ssl.conf \
22
&& rm /etc/httpd/conf.d/userdir.conf \
23
&& rm /etc/httpd/conf.d/welcome.conf
24
25
COPY httpd-shib-foreground /usr/local/bin/
26
27
EXPOSE 80 443
28
CMD ["httpd-shib-foreground"]
You can’t perform that action at this time.