Add tor-alpine Dockerfiles
This commit is contained in:
parent
6822a3b61f
commit
f7d04461dd
2 changed files with 11 additions and 0 deletions
9
tor-alpine/Dockerfile
Normal file
9
tor-alpine/Dockerfile
Normal 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
2
tor-alpine/build.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
docker pull alpine:latest
|
||||||
|
docker build --no-cache -t tor-alpine .
|
Loading…
Reference in a new issue