mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
add tor
This commit is contained in:
parent
14276ed8a2
commit
0aa4609b1c
16
tor/Dockerfile
Normal file
16
tor/Dockerfile
Normal 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" ]
|
Loading…
x
Reference in New Issue
Block a user