# https://pkgs.alpinelinux.org/packages?name=obfs4proxy&arch=x86_64 FROM alpine:3.10 RUN adduser -S onion \ && apk add --no-cache \ less \ man \ tor-doc \ tor=~0.3.5.8 \ && apk add --no-cache obfs4proxy=~0.0.7 \ --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing ENV PAGER=less COPY --chown=onion:nobody torrc /etc/tor/torrc USER onion EXPOSE 9050/tcp CMD ["tor"]