summaryrefslogtreecommitdiff
path: root/apache-sp/Dockerfile
diff options
context:
space:
mode:
authorHenrik Lund Kramshoej <hlk@kramse.org>2017-07-10 12:27:47 +0200
committerHenrik Lund Kramshoej <hlk@kramse.org>2017-07-10 12:27:47 +0200
commit1f4fcc1f2234281f6f7c95c0c0ba77b9298d00ce (patch)
treeb682afc07c5eed955b256c86d2e0da120c0e6f36 /apache-sp/Dockerfile
parent4f85857c506729174013742149d69eca736fe2de (diff)
parent07d7b2e0f88f38b1916a95b3d450ae34a652f338 (diff)
Merge branch 'master' of git.nordu.net:shibboleth-docker
Diffstat (limited to 'apache-sp/Dockerfile')
-rw-r--r--apache-sp/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/apache-sp/Dockerfile b/apache-sp/Dockerfile
new file mode 100644
index 0000000..51cc408
--- /dev/null
+++ b/apache-sp/Dockerfile
@@ -0,0 +1,16 @@
+FROM debian:jessie
+MAINTAINER Markus Krogh <markus@nordu.net>
+
+RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
+RUN apt-get update && apt-get -y install apache2 libapache2-mod-shib2 ssl-cert curl
+RUN a2enmod shib2 headers ssl
+
+RUN rm -f /etc/apache2/sites-available/* /etc/apache2/sites-enabled/*
+ADD apache-conf/*.conf /etc/apache2/sites-available/
+ADD shibd/shibboleth2.xml /etc/shibboleth/
+ADD secure /var/www/secure
+ADD entrypoint.sh /entrypoint.sh
+RUN chmod a+rx /entrypoint.sh
+EXPOSE 443
+EXPOSE 80
+ENTRYPOINT ["/entrypoint.sh"]