diff --git a/tor-alpine/Dockerfile b/tor-alpine/Dockerfile new file mode 100644 index 0000000..2233afa --- /dev/null +++ b/tor-alpine/Dockerfile @@ -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"] \ No newline at end of file diff --git a/tor-alpine/build.sh b/tor-alpine/build.sh new file mode 100755 index 0000000..fd587e4 --- /dev/null +++ b/tor-alpine/build.sh @@ -0,0 +1,2 @@ +docker pull alpine:latest +docker build --no-cache -t tor-alpine . \ No newline at end of file