Remove external tor repo from dockerfile
This commit is contained in:
parent
e0e5d50c35
commit
ac421e3897
15
Dockerfile
15
Dockerfile
|
@ -14,20 +14,7 @@ ENV TOR_PATH /usr/bin/tor
|
||||||
|
|
||||||
ENV PATH $PATH:/app/bin
|
ENV PATH $PATH:/app/bin
|
||||||
|
|
||||||
ADD https://deb.nodesource.com/setup_8.x /tmp/nodejs_install
|
RUN apt-get update && apt-get install -y nodejs tor git
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install dirmngr
|
|
||||||
|
|
||||||
RUN gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 && gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
|
|
||||||
|
|
||||||
RUN echo 'deb http://deb.torproject.org/torproject.org artful main\n\
|
|
||||||
\n\
|
|
||||||
deb-src http://deb.torproject.org/torproject.org artful main'\
|
|
||||||
>> /etc/apt/sources.list.d/tor.list
|
|
||||||
|
|
||||||
RUN bash /tmp/nodejs_install
|
|
||||||
|
|
||||||
RUN apt-get install -y nodejs tor git
|
|
||||||
|
|
||||||
RUN useradd -ms /bin/bash tor_router
|
RUN useradd -ms /bin/bash tor_router
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue