Skip to content

Commit

Permalink
Merge pull request #4 from alan-turing-institute/dummy-blacklist
Browse files Browse the repository at this point in the history
Suppress startup errors
  • Loading branch information
jemrobinson authored Apr 29, 2024
2 parents 838663b + c544604 commit b6962cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit b6962cd

Please sign in to comment.