diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-04-19 11:58:28 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-04-22 11:22:37 +0200 |
commit | 0748083b2e61982108ad8c7375eaa6bef2ea4daa (patch) | |
tree | d3f11cfc90bd33b301b63363e458b5edf7c3763a /packaging/docker/onion/Dockerfile | |
parent | 5ba78f137b020f5bc3136a5f72a99a82813210e4 (diff) |
Add dockerfile for Tor onion services.
Diffstat (limited to 'packaging/docker/onion/Dockerfile')
-rw-r--r-- | packaging/docker/onion/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/docker/onion/Dockerfile b/packaging/docker/onion/Dockerfile new file mode 100644 index 0000000..c1cadcd --- /dev/null +++ b/packaging/docker/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"] |