feat: public release

This commit is contained in:
Ilshidur
2019-10-20 17:37:40 +02:00
parent cbff7267ae
commit 0dbc974f54
8 changed files with 637 additions and 70 deletions

View File

@@ -1,22 +1,27 @@
FROM lsiobase/alpine:3.10
FROM alpine:3.10
LABEL maintainer "Nicolas Coutin <ilshidur@gmail.com>"
RUN apk --no-cache add tor
RUN apk --no-cache add tor bash tzdata
ENV TZ America/Los_Angeles
EXPOSE 9001
COPY torrc.default /etc/tor/torrc.default
RUN chown -R tor /etc/tor
COPY entrypoint.sh /entrypoint.sh
RUN chmod ugo+rx /entrypoint.sh
ENV RELAY_TYPE relay
ENV TOR_ORPort 9001
ENV TOR_ContactInfo "Random Person nobody@tor.org"
ENV TOR_RelayBandwidthRate "100 KBytes"
ENV TOR_RelayBandwidthBurst "200 KBytes"
COPY torrc.bridge.default /etc/tor/torrc.bridge.default
COPY torrc.relay.default /etc/tor/torrc.relay.default
COPY torrc.exit.default /etc/tor/torrc.exit.default
RUN chown -R tor /etc/tor
COPY entrypoint.sh /entrypoint.sh
RUN chmod ugo+rx /entrypoint.sh
USER tor
RUN mkdir /var/lib/tor/.tor