Make sure Tor data dir permission is 700

This commit is contained in:
Peter Dave Hello 2019-07-29 03:31:58 +08:00
parent bf159dbfa9
commit 301eb3f07e

View file

@ -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/