Add tor-alpine Dockerfiles
This commit is contained in:
parent
6822a3b61f
commit
f7d04461dd
|
@ -0,0 +1,9 @@
|
|||
FROM alpine:latest
|
||||
|
||||
# Install tor
|
||||
RUN apk add tor
|
||||
|
||||
# Run tor with config file /etc/tor/torrc
|
||||
USER tor
|
||||
WORKDIR /var/lib/tor
|
||||
CMD ["tor", "-f", "/etc/tor/torrc"]
|
|
@ -0,0 +1,2 @@
|
|||
docker pull alpine:latest
|
||||
docker build --no-cache -t tor-alpine .
|
Loading…
Reference in New Issue