Don't build tests and reset confdir to /etc

This commit is contained in:
Christophe Mehay 2016-09-27 18:54:59 +02:00
parent 38ba81f386
commit 2e0f4dab4a
2 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,12 @@ RUN apk add --no-cache git libevent-dev openssl-dev gcc make automake ca-cer
git clone https://git.torproject.org/tor.git /usr/local/src/tor && \
cd /usr/local/src/tor && \
git checkout tor-${TOR_VERSION} && \
./autogen.sh && ./configure --disable-asciidoc && make && make install && \
./autogen.sh && \
./configure \
--disable-asciidoc \
--sysconfdir=/etc \
--disable-unittests && \
make && make install && \
cd .. && \
rm -rf tor && \
apk add --no-cache python3 python3-dev && \