From e7e0811830817c47216a9606edc62ad2f44a92d7 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 4 Aug 2020 21:02:21 +0100 Subject: [PATCH] fix: wrong file name for config --- docker/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 99ff4f5..ed7e2d0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,6 @@ FROM debian:8 RUN apt-get -y update RUN apt-get install -y curl supervisor git openssl build-essential libssl-dev wget vim curl RUN mkdir -p /var/log/supervisor -COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf WORKDIR /apps/ RUN wget -O - http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.27.tar.gz | tar zxfv - \ && CPU=$(( `nproc --all`-1 )) \ @@ -17,9 +16,9 @@ ADD . /apps/ RUN chown -R nobody:nogroup /apps/ RUN mkdir -p /apps/squid/var/lib/ RUN /apps/squid/libexec/ssl_crtd -c -s /apps/squid/var/lib/ssl_db -M 4MB -RUN /apps/squid/sbin/squid -z -f /apps/squid.conf.cache +RUN /apps/squid/sbin/squid -z -f /apps/squid.intercept.conf RUN chown -R nobody:nogroup /apps/ EXPOSE 3128 ENTRYPOINT ["/apps/squid/sbin/squid", "-NsY", "-f"] -CMD ["/apps/squid.conf.intercept"] +CMD ["/apps/squid.intercept.conf"]