aboutsummaryrefslogtreecommitdiff
path: root/knot/ssp/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'knot/ssp/Dockerfile')
-rw-r--r--knot/ssp/Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/knot/ssp/Dockerfile b/knot/ssp/Dockerfile
new file mode 100644
index 0000000..6f19b9d
--- /dev/null
+++ b/knot/ssp/Dockerfile
@@ -0,0 +1,24 @@
+FROM debian:stretch-slim
+
+MAINTAINER Trygve Laugstøl <trygvis@inamo.no>
+
+VOLUME /local
+
+ARG DEBIAN_FRONTEND=noninteractive
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ apache2 \
+ aptitude \
+ apt-utils \
+ git \
+ git \
+ libapache2-mod-php \
+ php-ldap \
+ php-mbstring \
+ php-xml
+
+COPY self-service-password /srv/self-service-password
+COPY conf/000-default.conf /etc/apache2/sites-available/000-default.conf
+COPY conf/config.inc.php /srv/self-service-password/conf/config.inc.php
+CMD []
+ENTRYPOINT ["apachectl", "-DFOREGROUND"]