docker-tor-hidden-service/Dockerfile

21 lines
413 B
Text
Raw Normal View History

2015-09-21 17:27:06 +02:00
FROM debian:jessie
ENV DEBIAN_FRONTEND=noninteractive
2016-03-07 03:43:12 +01:00
ENV HOME /var/lib/tor
2015-09-21 17:27:06 +02:00
2016-03-07 03:43:12 +01:00
RUN apt-get update && apt-get install --no-install-recommends -y \
2015-09-21 17:27:06 +02:00
tor \
2016-03-07 03:43:12 +01:00
python3-pip
2015-09-21 17:27:06 +02:00
2016-03-07 03:43:12 +01:00
RUN pip3 install pyentrypoint==0.2.1
2015-09-21 17:27:06 +02:00
2016-03-07 03:43:12 +01:00
ADD assets/entrypoint-config.yml /
ADD assets/display_onions.py /
ADD assets/torrc /etc/tor/torrc
2015-09-21 17:27:06 +02:00
VOLUME ["/var/lib/tor/hidden_service/"]
2016-03-07 03:43:12 +01:00
ENTRYPOINT ["pyentrypoint"]
2015-09-21 17:27:06 +02:00
CMD ["tor"]