Make sure Tor data dir permission is 700
This commit is contained in:
parent
bf159dbfa9
commit
301eb3f07e
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ LABEL version="latest"
|
|||
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
|
||||
apk -U upgrade && \
|
||||
apk -v add tor@edge curl && \
|
||||
chmod 700 /var/lib/tor && \
|
||||
rm -rf /var/cache/apk/*
|
||||
RUN tor --version
|
||||
COPY torrc /etc/tor/
|
||||
|
|
Loading…
Reference in a new issue