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 \
|
init-system-helpers \
|
||||||
pwgen
|
pwgen
|
||||||
|
|
||||||
# Build tor
|
|
||||||
# clone the latest from the tor repos
|
# clone the latest from the tor repos
|
||||||
# autogen, configure, make, and install tor
|
# Use the TOR_VER env var for the branch
|
||||||
# cleanup after
|
|
||||||
RUN mkdir /src && \
|
RUN mkdir /src && \
|
||||||
cd /src && \
|
cd /src && \
|
||||||
git clone https://git.torproject.org/tor.git && \
|
git clone https://git.torproject.org/tor.git && \
|
||||||
cd tor && \
|
cd tor && \
|
||||||
git checkout ${TOR_VER}
|
git checkout ${TOR_VER}
|
||||||
|
|
||||||
|
# run autogen and build tor
|
||||||
RUN ./autogen.sh && \
|
# cleanup unnecessary files
|
||||||
|
# [OPTIONAL] clean up source
|
||||||
|
RUN cd /src/tor && \
|
||||||
|
./autogen.sh && \
|
||||||
./configure --disable-asciidoc && \
|
./configure --disable-asciidoc && \
|
||||||
make && \
|
make && \
|
||||||
make install && \
|
make install && \
|
||||||
|
Loading…
Reference in New Issue
Block a user