From 1107f0e9e2e14841d0830c1244c02c3a639a0599 Mon Sep 17 00:00:00 2001 From: Macleykun Date: Sun, 12 Jun 2022 14:48:17 +0200 Subject: [PATCH] Fix WARNING: apt does not have a stable CLI interface. Use with caution in scripts. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 691932fd..8f2ccd28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ ARG dir="/home/pi/pialert" #Update and reduce image size RUN apt 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 - && apt install curl arp-scan -y \ + && apt-get install curl arp-scan -y \ #clean-up && apt clean autoclean \ && apt autoremove