mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-06-01 04:12:14 +00:00
Parse multiple ports from environment
This commit is contained in:
parent
f5b25abd3c
commit
3843fe5bd3
5 changed files with 17 additions and 11 deletions
|
@ -2,11 +2,11 @@ FROM alpine
|
|||
|
||||
ENV HOME /var/lib/tor
|
||||
|
||||
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 coreutils && \
|
||||
mkdir -p /usr/local/src/ && \
|
||||
git clone https://git.torproject.org/tor.git /usr/local/src/tor && \
|
||||
cd /usr/local/src/tor && \
|
||||
git checkout $(git tag | tail -1) && \
|
||||
git checkout $(git branch -a | grep 'release' | sort -V | tail -1) && \
|
||||
./autogen.sh && \
|
||||
./configure \
|
||||
--disable-asciidoc \
|
||||
|
@ -19,7 +19,7 @@ RUN apk add --no-cache git libevent-dev openssl-dev gcc make automake ca-cer
|
|||
python3 -m ensurepip && \
|
||||
rm -r /usr/lib/python*/ensurepip && \
|
||||
pip3 install --upgrade pip setuptools pycrypto && \
|
||||
apk del git libevent-dev openssl-dev make automake python3-dev gcc autoconf musl-dev && \
|
||||
apk del git libevent-dev openssl-dev make automake python3-dev gcc autoconf musl-dev coreutils && \
|
||||
apk add --no-cache libevent openssl
|
||||
|
||||
ADD assets/entrypoint-config.yml /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue