updating to trixie and flattening image
Some checks failed
/ Plan (push) Failing after 44s

This commit is contained in:
2025-08-18 13:56:15 -05:00
parent aab45796ae
commit 0cca15af60

View File

@@ -1,11 +1,9 @@
FROM debian:bullseye-slim
FROM debian:trixie-slim
#
COPY logpingresult.py /usr/local/bin/
COPY requirements.txt /
COPY init.sh /
RUN chmod +x /init.sh
RUN chmod +x /usr/local/bin/logpingresult.py
RUN apt update && apt install python3 python3-pip iputils-ping -y
RUN pip3 install -r /requirements.txt
RUN apt clean
RUN apt update && apt install python3 python3-pip iputils-ping -y && pip3 install -r /requirements.txt --break-system-packages && apt clean
COPY logpingresult.py /usr/local/bin/
CMD ["/init.sh"]