mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-05-05 11:49:18 +00:00
tor: add port 9030 (dirport)
This commit is contained in:
parent
1e5c70712e
commit
b1e89d939a
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user