From a1bf35335392d2ae39f596764ccb82ae0354a6ca Mon Sep 17 00:00:00 2001 From: Macleykun Date: Sun, 19 Jun 2022 21:35:13 +0200 Subject: [PATCH] return to just the stable one --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index e724d548..5ba9cbb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM sebp/lighttpd:latest +FROM debian:buster-slim # Todo, figure out why using a workdir instead of full paths don't work # Todo, do we still need all these packages? I can already see sudo which isn't needed -RUN apk update \ - && apk add --no-cache ca-certificates curl libwww-perl arp-scan perl acron php php-cgi php-fpm php-sqlite3 sqlite3 dnsutils net-tools python iproute2 \ - # && apt-get clean autoclean \ - # && apt-get autoremove \ - # && rm -rf /var/lib/apt/lists/* \ +RUN apt-get update \ + && apt-get install --no-install-recommends ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo lighttpd php php-cgi php-fpm php-sqlite3 sqlite3 dnsutils net-tools python iproute2 -y \ + && apt-get clean autoclean \ + && apt-get autoremove \ + && rm -rf /var/lib/apt/lists/* \ && ln -s /home/pi/pialert/install/index.html /var/www/html/index.html \ && ln -s /home/pi/pialert/front /var/www/html/pialert \ && lighttpd-enable-mod fastcgi-php