Sign inSign up

andyzhshg/trojan-privoxy

By andyzhshg

•Updated over 6 years ago

trojan client with privoxy for http proxy

Image
3

3.0K

Dockerfile
FROM ubuntu:18.04

RUN apt-get update && apt-get install -y privoxy jq wget xz-utils
RUN wget https://github.com/trojan-gfw/trojan/releases/download/v1.16.0/trojan-1.16.0-linux-amd64.tar.xz && tar xvJf trojan-1.16.0-linux-amd64.tar.xz && rm trojan-1.16.0-linux-amd64.tar.xz

ADD privoxy.config /etc/privoxy/config
ADD entry.sh /entry.sh

RUN chmod +x /entry.sh

EXPOSE 1086/tcp
EXPOSE 1087/tcp

CMD [ "/entry.sh" ]