add ssl-bump Dockerfile

This commit is contained in:
Dmitry Belyaev 2019-06-04 12:29:11 +03:00
parent 88f5272b9e
commit 127d9c258c
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
1 changed files with 4 additions and 0 deletions

4
ssl-bump/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM b4tman/squid
USER root
CMD ["sh", "-c", "(test -d /var/cache/squid/ssl_db || /usr/lib/squid/security_file_certgen -c -s /var/cache/squid/ssl_db -M 4MB) && /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -z && exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -YCd 1"]