-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile just use the normal debian
- Loading branch information
David Personette
committed
Mar 20, 2020
1 parent
1744ea8
commit 2a1692a
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:stretch | ||
FROM debian:jessie | ||
MAINTAINER David Personette <[email protected]> | ||
|
||
# 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/ && \ | ||
|