mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-10-16 13:12:20 +00:00
add tor
This commit is contained in:
1 parent
14276ed8a2
commit
0aa4609b1c
1 file changed
+16
@@ -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" ]
|
||||
Reference in new issue
Block a user