From 7fe4f529568912cbe684ec9e8bc47bc01c09ce96 Mon Sep 17 00:00:00 2001 From: Macleykun Date: Sun, 12 Jun 2022 15:01:17 +0200 Subject: [PATCH] use apt-get for stable cli --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 691932fd..924211ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,13 @@ FROM debian:buster-slim 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 \ +RUN apt-get update \ + && 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 + && apt-get clean autoclean \ + && apt-get autoremove #add the pi user RUN useradd -ms /bin/bash pi