2018-02-03 17:11:48 +00:00
|
|
|
FROM alpine:3.7
|
2017-01-10 01:17:07 +00:00
|
|
|
|
|
|
|
MAINTAINER Peter Dave Hello <hsu@peterdavehello.org>
|
|
|
|
|
2017-10-10 10:34:39 +00:00
|
|
|
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
|
|
|
|
apk -U upgrade && \
|
|
|
|
apk -v add tor@edge && \
|
2017-01-10 01:17:07 +00:00
|
|
|
rm -rf /var/cache/apk/*
|
|
|
|
RUN tor --version
|
|
|
|
ADD torrc /etc/tor/
|
|
|
|
|
|
|
|
EXPOSE 9150
|
|
|
|
|
|
|
|
CMD /usr/bin/tor -f /etc/tor/torrc
|