mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-21 22:39:10 +00:00
install latest version of tor
instead of maintaining an environmental variable the script now goes for the latest tag known to the git repo.
This commit is contained in:
parent
e8e6e29de6
commit
9e7a8ec836
1 changed files with 1 additions and 2 deletions
|
@ -1,13 +1,12 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
ENV HOME /var/lib/tor
|
ENV HOME /var/lib/tor
|
||||||
ENV TOR_VERSION 0.2.8.8
|
|
||||||
|
|
||||||
RUN apk add --no-cache git libevent-dev openssl-dev gcc make automake ca-certificates autoconf musl-dev && \
|
RUN apk add --no-cache git libevent-dev openssl-dev gcc make automake ca-certificates autoconf musl-dev && \
|
||||||
mkdir -p /usr/local/src/ && \
|
mkdir -p /usr/local/src/ && \
|
||||||
git clone https://git.torproject.org/tor.git /usr/local/src/tor && \
|
git clone https://git.torproject.org/tor.git /usr/local/src/tor && \
|
||||||
cd /usr/local/src/tor && \
|
cd /usr/local/src/tor && \
|
||||||
git checkout tor-${TOR_VERSION} && \
|
git checkout $(git tag | tail -1) && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
./configure \
|
./configure \
|
||||||
--disable-asciidoc \
|
--disable-asciidoc \
|
||||||
|
|
Loading…
Add table
Reference in a new issue