# radsecproxy-web
#
# Generates static HTML from an ikiwiki git repo and exits.
#
FROM debian:latest
MAINTAINER Linus Nordberg
RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections
RUN apt-get update
RUN apt-get upgrade
RUN apt-get -y -q install ikiwiki make
RUN [ -d /usr/local/src/radsecproxy-web ] || git clone https://git.nordu.net/radsecproxy-web.git /usr/local/src/radsecproxy-web
RUN cd /usr/local/src/radsecproxy-web && git pull
ADD mkhtml.sh /
ENTRYPOINT ["/mkhtml.sh"]