probaly we missing ca-certifciates
This commit is contained in:
@@ -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"]
|
||||
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user