1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-24 20:26:53 +00:00

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

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"]