Add onions tool in container

This commit is contained in:
Christophe Mehay 2016-03-21 23:36:16 +01:00
parent bebf1704ed
commit 8285c00f6e
7 changed files with 122 additions and 18 deletions

View file

@ -7,12 +7,14 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
tor \
python3-pip
RUN pip3 install pyentrypoint==0.2.1
RUN pip3 install pyentrypoint==0.2.2
ADD assets/entrypoint-config.yml /
ADD assets/display_onions.py /
ADD assets/onions /usr/local/src/onions
ADD assets/torrc /etc/tor/torrc
RUN cd /usr/local/src/onions && python3 setup.py install
VOLUME ["/var/lib/tor/hidden_service/"]
ENTRYPOINT ["pyentrypoint"]