| 1234567891011121314151617181920212223242526272829303132 | # https://pkgs.alpinelinux.org/packages?name=obfs4proxy&arch=x86_64FROM docker.io/alpine:3.18.2ARG TOR_PACKAGE_VERSION=0.4.7.13-r2# https://git.alpinelinux.org/aports/log/testing/obfs4proxyARG OBFS4PROXY_PACKAGE_VERSION=0.0.14-r8RUN apk add --no-cache tor=$TOR_PACKAGE_VERSION \    && apk add --no-cache obfs4proxy=$OBFS4PROXY_PACKAGE_VERSION \        --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing#RUN apk add --no-cache \#        less \#        man-db \#        tor-doc=$TOR_PACKAGE_VERSION#ENV PAGER=lessENV OR_PORT=ENV PT_PORT=ENV CONTACT_INFO=COPY torrc.template entrypoint.sh /RUN chmod -c a+rX /torrc.template /entrypoint.shENTRYPOINT ["/entrypoint.sh"]USER torVOLUME /var/lib/torCMD ["tor", "-f", "/tmp/torrc"]# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.mdARG REVISION=LABEL org.opencontainers.image.title="tor bridge providing obfs4 obfuscation protocol" \    org.opencontainers.image.source="https://github.com/fphammerle/docker-tor-obfs4-bridge" \    org.opencontainers.image.revision="$REVISION"
 |