You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-tor-hidden-service/Dockerfile

23 lines
482 B
Docker

9 years ago
FROM debian:jessie
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME /var/lib/tor
9 years ago
RUN apt-get update && apt-get install --no-install-recommends -y \
9 years ago
tor \
python3-pip
9 years ago
RUN pip3 install pyentrypoint==0.3.8
9 years ago
ADD assets/entrypoint-config.yml /
ADD assets/onions /usr/local/src/onions
ADD assets/torrc /etc/tor/torrc
9 years ago
RUN cd /usr/local/src/onions && python3 setup.py install
9 years ago
VOLUME ["/var/lib/tor/hidden_service/"]
ENTRYPOINT ["pyentrypoint"]
9 years ago
CMD ["tor"]