Dockerfile 429 B

1234567891011121314151617181920
  1. # https://pkgs.alpinelinux.org/packages?name=obfs4proxy&arch=x86_64
  2. FROM alpine:3.10
  3. RUN adduser -S onion \
  4. && apk add --no-cache \
  5. less \
  6. man \
  7. tor-doc \
  8. tor=~0.3.5.8 \
  9. && apk add --no-cache obfs4proxy=~0.0.7 \
  10. --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing
  11. ENV PAGER=less
  12. COPY --chown=onion:nobody torrc /etc/tor/torrc
  13. USER onion
  14. EXPOSE 9050/tcp
  15. CMD ["tor"]