Skip to content

Commit c544604

Browse files
committed
👽 Blacklist a non-existent package to avoid autogeneration errors
1 parent 838663b commit c544604

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ RUN chmod +x /app/entrypoint.sh
1717
# Start with a blank set of allowed domains
1818
RUN echo "# Default deny all" > /etc/squid-deb-proxy/mirror-dstdomain.acl
1919

20+
# At least one package must be blacklisted or autogeneration will fail
21+
RUN echo "non-existent-package" > /etc/squid-deb-proxy/pkg-blacklist
22+
2023
# Set all files in /app/allowlists as allowed domains
2124
RUN mkdir -p /app/allowlists && \
2225
rm -rf /etc/squid-deb-proxy/mirror-dstdomain.acl.d && \

0 commit comments

Comments
 (0)