File size: 477 Bytes
4cdd507
 
 
 
 
 
 
1
2
3
4
5
6
7
FROM ubuntu:latest

RUN apt update && apt upgrade -y && apt install -y privoxy

RUN printf "listen-address  0.0.0.0:7860\ntoggle  1\nenable-remote-toggle  0\nenable-remote-http-toggle  0\nenable-edit-actions  0\nenforce-blocks  0\nbuffer-limit  4096\naccept-intercepted-requests  1\nallow-cgi-request-crunching  0\nsplit-large-forms  0\nhandle-as-empty-doc-returns-ok  0\ndefault-server-timeout  5\n" > /etc/privoxy/config

CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"]