1234567891011121314151617181920212223242526272829303132333435363738 |
- FROM docker.io/alpine:3.18.2
- ARG TOR_PACKAGE_VERSION=0.4.8.4-r0
- ARG LYREBIRD_PACKAGE_VERSION=0.1.0-r0
- RUN apk add --no-cache tor=$TOR_PACKAGE_VERSION \
- && apk add --no-cache lyrebird=$LYREBIRD_PACKAGE_VERSION \
- --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing
- ENV OR_PORT=
- ENV PT_PORT=
- ENV CONTACT_INFO=
- COPY torrc.template entrypoint.sh /
- RUN chmod -c a+rX /torrc.template /entrypoint.sh
- ENTRYPOINT ["/entrypoint.sh"]
- USER tor
- VOLUME /var/lib/tor
- CMD ["tor", "-f", "/tmp/torrc"]
- ARG REVISION=
- LABEL org.opencontainers.image.title="tor bridge providing obfs4 obfuscation protocol via lyrebird" \
- org.opencontainers.image.source="https://github.com/fphammerle/docker-tor-obfs4-bridge" \
- org.opencontainers.image.revision="$REVISION"
|