Add tor-alpine Dockerfiles

This commit is contained in:
Julia 2022-03-05 23:06:04 +01:00
parent 6822a3b61f
commit f7d04461dd
2 changed files with 11 additions and 0 deletions

9
tor-alpine/Dockerfile Normal file
View File

@ -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"]

2
tor-alpine/build.sh Executable file
View File

@ -0,0 +1,2 @@
docker pull alpine:latest
docker build --no-cache -t tor-alpine .