You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	fix missing privoxy config files (FIX #209)
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user