From c5446041a4281dfe9d6b7356d39ee7829fd611f6 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Mon, 29 Apr 2024 16:52:05 +0100 Subject: [PATCH] :alien: Blacklist a non-existent package to avoid autogeneration errors --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index fb200f1..045b344 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,9 @@ RUN chmod +x /app/entrypoint.sh # Start with a blank set of allowed domains RUN echo "# Default deny all" > /etc/squid-deb-proxy/mirror-dstdomain.acl +# At least one package must be blacklisted or autogeneration will fail +RUN echo "non-existent-package" > /etc/squid-deb-proxy/pkg-blacklist + # Set all files in /app/allowlists as allowed domains RUN mkdir -p /app/allowlists && \ rm -rf /etc/squid-deb-proxy/mirror-dstdomain.acl.d && \