From 7e25878eeb4ff361ca0953fbe67971366275bae2 Mon Sep 17 00:00:00 2001 From: Macleykun Date: Sun, 12 Jun 2022 15:46:59 +0200 Subject: [PATCH] probaly we missing ca-certifciates --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d95d70bd..2ad7033c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:buster-slim RUN apt-get update \ - && apt-get install --no-install-recommends curl arp-scan 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 ca-certificates curl arp-scan 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/* @@ -14,6 +14,7 @@ RUN mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old \ COPY . /home/pi/pialert # delete .git/ files and the tar/ realese directory to make the image smaller +#RUN rm -r /home/pi/pialert/.git \ RUN rm -r /home/pi/pialert/tar # Pi.Alert @@ -32,4 +33,4 @@ EXPOSE 20211 # Set up startup script to run two commands, cron and the lighttpd server RUN chmod +x /home/pi/pialert/dockerfiles/start.sh -CMD ["/home/pi/pialert/dockerfiles/start.sh"] \ No newline at end of file +CMD ["/home/pi/pialert/dockerfiles/start.sh"]