mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update tor
This commit is contained in:
parent
47d26238fc
commit
1fe4b64228
@ -2,20 +2,19 @@
|
|||||||
# Dockerfile for tor
|
# Dockerfile for tor
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:edge
|
||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
&& apk add --no-cache build-base \
|
||||||
&& apk add -U build-base \
|
git \
|
||||||
git \
|
gmp-dev \
|
||||||
gmp-dev \
|
go \
|
||||||
go \
|
libgmpxx \
|
||||||
libgmpxx \
|
py-pip \
|
||||||
py-pip \
|
python \
|
||||||
python \
|
python-dev \
|
||||||
python-dev \
|
tor \
|
||||||
tor \
|
|
||||||
&& pip install fteproxy \
|
&& pip install fteproxy \
|
||||||
obfsproxy \
|
obfsproxy \
|
||||||
&& GOPATH=/tmp/obfs4 go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy \
|
&& GOPATH=/tmp/obfs4 go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy \
|
||||||
@ -28,8 +27,7 @@ RUN set -xe \
|
|||||||
git \
|
git \
|
||||||
gmp-dev \
|
gmp-dev \
|
||||||
go \
|
go \
|
||||||
python-dev \
|
python-dev
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
COPY ./torrc /etc/tor/torrc
|
COPY ./torrc /etc/tor/torrc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user