-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
14 lines (14 loc) · 549 Bytes
/
Dockerfile
File metadata and controls
14 lines (14 loc) · 549 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM alpine:latest
LABEL org.opencontainers.image.source="https://github.com/simeononsecurity/docker-tor-bridge"
LABEL org.opencontainers.image.description="Quickly Spin up a Tor Bridge"
LABEL org.opencontainers.image.authors="simeononsecurity"
RUN apk update && apk add \
tor nyx\
--update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
&& rm -rf /var/cache/apk/*
EXPOSE 9050
COPY torrc.default /etc/tor/torrc.default
RUN chown -R tor /etc/tor
USER tor
ENTRYPOINT [ "tor" ]
CMD [ "-f", "/etc/tor/torrc.default" ]