1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-09-21 00:38:03 +00:00

include conf.d/*.conf

This commit is contained in:
Dmitry Belyaev 2017-05-11 14:35:08 +03:00
parent 1df9cc980e
commit c91e73c456

View File

@ -110,8 +110,9 @@ RUN set -x && \
cd / && \
rm -rf /tmp/build "$GNUPGHOME"
COPY squid-log.conf /etc/squid/squid-log.conf
RUN echo 'include /etc/squid/squid-log.conf' >> "$SQUID_CONFIG_FILE"
RUN echo 'include /etc/squid/conf.d/*.conf' >> "$SQUID_CONFIG_FILE" && \
install -d -m 755 -o squid -g squid /etc/squid/conf.d
COPY squid-log.conf /etc/squid/conf.d/
VOLUME ["/var/cache/squid"]
EXPOSE 3128/tcp