summaryrefslogtreecommitdiff
path: root/packaging/docker/onion/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/docker/onion/Dockerfile')
-rw-r--r--packaging/docker/onion/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/docker/onion/Dockerfile b/packaging/docker/onion/Dockerfile
new file mode 100644
index 0000000..ddd961e
--- /dev/null
+++ b/packaging/docker/onion/Dockerfile
@@ -0,0 +1,10 @@
+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
+[ENTRYPOINT ["/start.sh"]