diff --git a/Dockerfile b/Dockerfile index 502b9de..f06eaf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:jessie MAINTAINER David Personette # Install lighttpd and smokeping @@ -51,10 +51,10 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \ unset conf dir header && \ lighttpd-enable-mod cgi && \ lighttpd-enable-mod fastcgi && \ - [[ -d /var/cache/smokeping ]] || mkdir -p /var/cache/smokeping && \ - [[ -d /var/lib/smokeping ]] || mkdir -p /var/lib/smokeping && \ - [[ -d /run/smokeping ]] || mkdir -p /run/smokeping && \ - [[ -d /var/www/cgi-bin ]] || rmdir /var/www/cgi-bin && \ + [ -d /var/cache/smokeping ] || mkdir -p /var/cache/smokeping && \ + [ -d /var/lib/smokeping ] || mkdir -p /var/lib/smokeping && \ + [ -d /run/smokeping ] || mkdir -p /run/smokeping && \ + [ -d /var/www/cgi-bin ] && rmdir /var/www/cgi-bin || : && \ ln -s /usr/share/smokeping/www /var/www/smokeping && \ ln -s /usr/lib/cgi-bin /var/www/ && \ ln -s /usr/lib/cgi-bin/smokeping.cgi /var/www/smokeping/ && \