From a8126b37d4ef973092c1adf4d8238509de21542b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 26 May 2015 15:18:54 +0200 Subject: Initial commit. --- onion/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 onion/Dockerfile (limited to 'onion/Dockerfile') diff --git a/onion/Dockerfile b/onion/Dockerfile new file mode 100644 index 0000000..c1cadcd --- /dev/null +++ b/onion/Dockerfile @@ -0,0 +1,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"] -- cgit v1.1