mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 19:26:54 +00:00
4 lines
301 B
Docker
4 lines
301 B
Docker
FROM b4tman/squid:armhf-cross
|
|
|
|
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"] |