summaryrefslogtreecommitdiff
path: root/packaging/docker/onion/Dockerfile
blob: c1cadcd10792c78f93ef400bcccd13a4e1812cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM debian:jessie
RUN apt-get update
RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections
RUN apt-get -y -q install tor
RUN systemctl disable tor
ADD start.sh /start.sh
RUN chmod a+rx /start.sh
VOLUME /etc/tor
VOLUME /var/lib/tor/hs
RUN chown -R debian-tor:debian-tor /var/lib/tor/hs
ENTRYPOINT ["/start.sh"]