mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
fix missing privoxy config files (FIX #209)
This commit is contained in:
parent
50f5eaff4f
commit
e9d14507ec
@ -19,10 +19,14 @@ RUN set -xe \
|
||||
&& chmod +x /usr/sbin/gosu \
|
||||
&& apk del curl
|
||||
|
||||
RUN sed -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
|
||||
-e '/^accept-intercepted-requests/s/0/1/' \
|
||||
-e '/^enforce-blocks/s/0/1/' \
|
||||
-e '/^#debug/s/#//' /etc/privoxy/config.new > /etc/privoxy/config
|
||||
WORKDIR /etc/privoxy
|
||||
|
||||
RUN set -xe \
|
||||
&& for cfg in *.new; do touch ${cfg%.new}; done \
|
||||
&& sed -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
|
||||
-e '/^accept-intercepted-requests/s/0/1/' \
|
||||
-e '/^enforce-blocks/s/0/1/' \
|
||||
-e '/^#debug/s/#//' config.new > config
|
||||
|
||||
VOLUME /etc/privoxy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user