Skip to content
Permalink
Newer
Older
100644 37 lines (30 sloc) 1.25 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
# Add starters and installers
31
ADD ./container_files /opt
villadalmine
Sep 15, 2016
33
#Script to start service, Added ssl default conf, Added shib module apache
34
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
35
36
EXPOSE 80 443
37
CMD ["httpd-shib-foreground"]
You can’t perform that action at this time.