mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
Changed tor images to :latest alpine and made volume for the relay keys (#274)
* tor images/Dockerfile: Use latest instead of edge. * tor-relay/Dockerfile: Create volume so keys can be persisted.
This commit is contained in:
parent
5299cde542
commit
b2591235a4
2 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
# --name torproxy \
|
||||
# jess/tor-proxy
|
||||
#
|
||||
FROM alpine:edge
|
||||
FROM alpine:latest
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
RUN apk --no-cache add \
|
||||
|
|
|
@ -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 <jess@linux.com>"
|
||||
|
||||
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" ]
|
||||
|
|
Loading…
Reference in a new issue