mirror of
https://github.com/antitree/private-tor-network
synced 2025-02-26 05:38:47 +00:00
Fixing image build order in Dockerfile that prevented it from building
This commit is contained in:
parent
fd1ea6753a
commit
c6ee88eca8
11
Dockerfile
11
Dockerfile
@ -41,18 +41,19 @@ RUN apt-get update && \
|
||||
init-system-helpers \
|
||||
pwgen
|
||||
|
||||
# Build tor
|
||||
# clone the latest from the tor repos
|
||||
# autogen, configure, make, and install tor
|
||||
# cleanup after
|
||||
# Use the TOR_VER env var for the branch
|
||||
RUN mkdir /src && \
|
||||
cd /src && \
|
||||
git clone https://git.torproject.org/tor.git && \
|
||||
cd tor && \
|
||||
git checkout ${TOR_VER}
|
||||
|
||||
|
||||
RUN ./autogen.sh && \
|
||||
# run autogen and build tor
|
||||
# cleanup unnecessary files
|
||||
# [OPTIONAL] clean up source
|
||||
RUN cd /src/tor && \
|
||||
./autogen.sh && \
|
||||
./configure --disable-asciidoc && \
|
||||
make && \
|
||||
make install && \
|
||||
|
Loading…
Reference in New Issue
Block a user