tor: add port 9030 (dirport)

This commit is contained in:
Wonderfall 2016-05-06 19:21:00 +02:00
parent 1e5c70712e
commit b1e89d939a

View File

@ -1,16 +1,13 @@
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
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk -U add tor@testing \
&& rm -f /var/cache/apk/* \
&& chown -R tor /etc/tor /tor /torconfig
EXPOSE 9001 9030
USER tor
ENTRYPOINT [ "tor" ]