mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
new image ?
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,13 +1,12 @@
|
||||
FROM debian:buster-slim
|
||||
FROM sebp/lighttpd:latest
|
||||
|
||||
# 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 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/* \
|
||||
RUN apk install ca-certificates curl libwww-perl arp-scan perl acron 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
|
||||
|
||||
Reference in New Issue
Block a user