Skip to content
Permalink
Newer
Older
100644 40 lines (33 sloc) 1.37 KB
1
FROM tier/centos7base
2
3
# Define args and set a default value
4
ARG maintainer=tier
5
ARG imagename=shibboleth_sp
Aug 16, 2017
6
ARG version=2.6.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
# Add starters and installers
18
ADD ./container_files /opt
19
20
RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \
21
http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo \
22
&& yum -y update \
23
&& yum -y install \
24
httpd \
25
mod_ssl \
26
shibboleth.x86_64 \
Dec 20, 2017
27
dos2unix \
29
&& rm /etc/httpd/conf.d/autoindex.conf \
30
&& rm /etc/httpd/conf.d/ssl.conf \
31
&& rm /etc/httpd/conf.d/userdir.conf \
32
&& rm /etc/httpd/conf.d/welcome.conf \
33
&& chmod +x /opt/bin/httpd-shib-foreground \
34
&& chmod +x /opt/bin/shibboleth_keygen.sh
villadalmine
Sep 15, 2016
36
#Script to start service, Added ssl default conf, Added shib module apache
37
RUN ln -s /opt/bin/httpd-shib-foreground /usr/local/bin && ln -s /opt/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf && ln -s /opt/etc/httpd/conf.modules.d/00-shib.conf /etc/httpd/conf.modules.d/00-shib.conf && ln -s /usr/lib64/shibboleth/mod_shib_24.so /etc/httpd/modules/mod_shib_24.so
38
39
EXPOSE 80 443
40
CMD ["httpd-shib-foreground"]
You can’t perform that action at this time.