diff --git a/dockerized/Dockerfile b/dockerized/Dockerfile index 98b468742..07076bfbc 100644 --- a/dockerized/Dockerfile +++ b/dockerized/Dockerfile @@ -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 [] \ No newline at end of file +CMD []