summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/docker/Dockerfile19
1 files changed, 12 insertions, 7 deletions
diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile
index da07384..dbd2f37 100644
--- a/packaging/docker/Dockerfile
+++ b/packaging/docker/Dockerfile
@@ -1,13 +1,18 @@
-# lighttpd + ikiwiki
-FROM ubuntu:14.04
-MAINTAINER Linus Nordberg <linus@nordu.net>
+# ikiwiki
+#
+# Generates static HTML from an ikiwiki git repo.
+#
+
+FROM ubuntu:15.10
+MAINTAINER Linus Nordberg <linus+radsecproxy@nordu.net>
RUN apt-get update
RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections
-RUN apt-get -y -q install lighttpd ikiwiki make
+RUN apt-get -y -q install unattended-upgrades
+RUN apt-get -y -q install ikiwiki make
+
+RUN git clone https://git.nordu.net/radsecproxy-web.git /usr/local/src/
-EXPOSE 80
-EXPOSE 443
-VOLUME /etc/lighttpd
+VOLUME /var/www/radsecproxy
ADD start.sh /
ENTRYPOINT ["/start.sh"]