Skip to content
Permalink
Newer
Older
100644 36 lines (30 sloc) 1.07 KB
1
FROM tier/centos7base
2
3
# Define args and set a default value
4
ARG maintainer=tier
5
ARG imagename=shibboleth_sp
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 \
20
&& yum -y install \
21
httpd \
22
mod_ssl \
23
shibboleth.x86_64 \
24
&& yum clean all \
25
&& rm /etc/httpd/conf.d/autoindex.conf \
26
&& rm /etc/httpd/conf.d/ssl.conf \
27
&& rm /etc/httpd/conf.d/userdir.conf \
28
&& rm /etc/httpd/conf.d/welcome.conf
29
30
COPY httpd-shib-foreground /usr/local/bin/
31
COPY conf/attribute-map.xml /opt/etc/shibboleth/attribute-map.xml
32
COPY conf/inc-md-cert.pem /opt/etc/shibboleth/inc-md-cert.pem
33
COPY conf/shibboleth_keygen.sh /opt/bin/shibboleth_keygen.sh
34
35
EXPOSE 80 443
36
CMD ["httpd-shib-foreground"]
You can’t perform that action at this time.