|
|
|
@ -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 /
|
|
|
|
|