mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
use apt-get for stable cli
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -3,13 +3,13 @@ FROM debian:buster-slim
|
|||||||
ARG dir="/home/pi/pialert"
|
ARG dir="/home/pi/pialert"
|
||||||
|
|
||||||
#Update and reduce image size
|
#Update and reduce image size
|
||||||
RUN apt update \
|
RUN apt-get update \
|
||||||
&& apt install --no-install-recommends apt-utils cron sudo lighttpd php php-cgi php-fpm php-sqlite3 sqlite3 dnsutils net-tools python iproute2 -y \
|
&& apt-get install --no-install-recommends apt-utils cron sudo lighttpd php php-cgi php-fpm php-sqlite3 sqlite3 dnsutils net-tools python iproute2 -y \
|
||||||
#Install without the --no-install-recommends flag
|
#Install without the --no-install-recommends flag
|
||||||
&& apt install curl arp-scan -y \
|
&& apt-get install curl arp-scan -y \
|
||||||
#clean-up
|
#clean-up
|
||||||
&& apt clean autoclean \
|
&& apt-get clean autoclean \
|
||||||
&& apt autoremove
|
&& apt-get autoremove
|
||||||
|
|
||||||
#add the pi user
|
#add the pi user
|
||||||
RUN useradd -ms /bin/bash pi
|
RUN useradd -ms /bin/bash pi
|
||||||
|
|||||||
Reference in New Issue
Block a user