mirror of
https://github.com/antitree/private-tor-network
synced 2025-01-01 16:45:46 +00:00
Removing xterm support and supporting various tor versions
This commit is contained in:
parent
f2ffebf95a
commit
cd138f9dbe
17
Dockerfile
17
Dockerfile
@ -16,10 +16,18 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER Antitree antitree@protonmail.com
|
MAINTAINER Antitree antitree@protonmail.com
|
||||||
|
|
||||||
|
# Sets which version of tor to use. See the Tor Projects git page for available tags
|
||||||
|
# Examples:
|
||||||
|
# * tor-0.2.8.4-rc
|
||||||
|
# * tor-0.2.7.6
|
||||||
|
# * tor-0.2.7.5
|
||||||
|
# * release-0.2.1
|
||||||
|
ENV TOR_VER="master"
|
||||||
|
ENV TOR_VER="release-0.2.1"
|
||||||
|
|
||||||
# Sets the nickname if you didn't set one, default ports, and the path
|
# Sets the nickname if you didn't set one, default ports, and the path
|
||||||
# where to mount the key material used by the clients.
|
# where to mount the key material used by the clients.
|
||||||
ENV TOR_NICKNAME=Tor4 \
|
ENV TERM=xterm \
|
||||||
TERM=xterm \
|
|
||||||
TOR_ORPORT=7000 \
|
TOR_ORPORT=7000 \
|
||||||
TOR_DIRPORT=9030 \
|
TOR_DIRPORT=9030 \
|
||||||
TOR_DIR=/tor
|
TOR_DIR=/tor
|
||||||
@ -41,7 +49,10 @@ RUN mkdir /src && \
|
|||||||
cd /src && \
|
cd /src && \
|
||||||
git clone https://git.torproject.org/tor.git && \
|
git clone https://git.torproject.org/tor.git && \
|
||||||
cd tor && \
|
cd tor && \
|
||||||
./autogen.sh && \
|
git checkout ${TOR_VER}
|
||||||
|
|
||||||
|
|
||||||
|
RUN ./autogen.sh && \
|
||||||
./configure --disable-asciidoc && \
|
./configure --disable-asciidoc && \
|
||||||
make && \
|
make && \
|
||||||
make install && \
|
make install && \
|
||||||
|
Loading…
Reference in New Issue
Block a user