add socks2http

This commit is contained in:
2018-02-02 16:34:53 +08:00
parent a13103fb44
commit 5a5d9a920c
3 changed files with 32 additions and 0 deletions

11
socks2http/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM alpine:3.7
MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apk add --no-cache privoxy
RUN sed -i'' 's/127\.0\.0\.1:8118/0\.0\.0\.0:8118/' /etc/privoxy/config
ADD bootstrap.sh /etc/bootstrap.sh
ENTRYPOINT ["/etc/bootstrap.sh"]