This commit is contained in:
Wonderfall 2016-05-06 12:39:35 +02:00
parent 14276ed8a2
commit 0aa4609b1c

16
tor/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk -U add tor@testing \
&& rm -f /var/cache/apk/*
EXPOSE 9001
VOLUME /tor
VOLUME /torconfig
RUN chown -R tor /etc/tor /tor /torconfig
USER tor
ENTRYPOINT [ "tor" ]