mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01: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
|
@ -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 New Issue
Block a user