forked from jessfraz/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed tor images to :latest alpine and made volume for the relay ke…
…ys (jessfraz#274) * tor images/Dockerfile: Use latest instead of edge. * tor-relay/Dockerfile: Create volume so keys can be persisted.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|
@@ -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" ] |