probaly we missing ca-certifciates

This commit is contained in:
Macleykun
2022-06-12 15:46:59 +02:00
parent 5c2fd1f2b5
commit 7e25878eeb

View File

@@ -1,7 +1,7 @@
FROM debian:buster-slim FROM debian:buster-slim
RUN apt-get update \ 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 clean autoclean \
&& apt-get autoremove \ && apt-get autoremove \
&& rm -rf /var/lib/apt/lists/* && 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 COPY . /home/pi/pialert
# delete .git/ files and the tar/ realese directory to make the image smaller # 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 RUN rm -r /home/pi/pialert/tar
# Pi.Alert # Pi.Alert