Debug Dockerfile

This commit is contained in:
Mohamed AbdElmoneim 2026-01-06 03:39:24 +02:00 committed by GitHub
parent 559de8fcbc
commit b20a6c6a78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@ FROM kalilinux/kali-rolling
ENV DEBIAN_FRONTEND=noninteractive
# [FIX BAD MIRROR] Use a single, reliable Kali mirror to avoid flaky mirror redirects during apt operations
RUN printf 'deb http://kali.download/kali kali-rolling main contrib non-free non-free-firmware\n' > /etc/apt/sources.list
# Fix Kali GPG Keys
RUN apt-get update --allow-insecure-repositories && \
apt-get install -y --no-install-recommends --allow-unauthenticated kali-archive-keyring && \
@ -72,4 +75,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD python3 -c "import cai; print('OK')" || exit 1
ENTRYPOINT ["/opt/cai/start.sh"]
CMD []
CMD []