Skip to content

Commit

Permalink
Changed tor images to :latest alpine and made volume for the relay ke…
Browse files Browse the repository at this point in the history
…ys (jessfraz#274)

* tor images/Dockerfile: Use latest instead of edge.

* tor-relay/Dockerfile: Create volume so keys can be persisted.
  • Loading branch information
jpds authored and jessfraz committed Jun 20, 2017
1 parent 5299cde commit b259123
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tor-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --name torproxy \
# jess/tor-proxy
#
FROM alpine:edge
FROM alpine:latest
LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apk --no-cache add \
Expand Down
6 changes: 5 additions & 1 deletion tor-relay/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"

RUN apk --no-cache add \
Expand All @@ -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" ]

0 comments on commit b259123

Please sign in to comment.