diff --git a/tor-proxy/Dockerfile b/tor-proxy/Dockerfile index 7b248cb..dc50397 100644 --- a/tor-proxy/Dockerfile +++ b/tor-proxy/Dockerfile @@ -7,7 +7,7 @@ # --name torproxy \ # jess/tor-proxy # -FROM alpine:edge +FROM alpine:latest LABEL maintainer "Jessie Frazelle " RUN apk --no-cache add \ diff --git a/tor-relay/Dockerfile b/tor-relay/Dockerfile index e89a829..caf907c 100644 --- a/tor-relay/Dockerfile +++ b/tor-relay/Dockerfile @@ -16,7 +16,7 @@ # --name tor-relay \ # jess/tor-relay -f /etc/tor/torrc.exit # -FROM alpine:edge +FROM alpine:latest LABEL maintainer "Jessie Frazelle " RUN apk --no-cache add \ @@ -36,4 +36,8 @@ RUN chown -R tor /etc/tor USER tor +RUN mkdir /var/lib/tor/.tor +VOLUME /var/lib/tor/.tor +RUN chown -R tor /var/lib/tor/.tor + ENTRYPOINT [ "tor" ]