From 6e993f63f2f5bb4e8d1353aad704c8684d1a3d99 Mon Sep 17 00:00:00 2001 From: cyberworm <93949496+cyberworm-uk@users.noreply.github.com> Date: Sun, 26 May 2024 18:56:04 +0100 Subject: [PATCH] Update Containerfile --- obfs4-bridge/Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/obfs4-bridge/Containerfile b/obfs4-bridge/Containerfile index 7648d20..a9e98bb 100644 --- a/obfs4-bridge/Containerfile +++ b/obfs4-bridge/Containerfile @@ -4,7 +4,8 @@ FROM docker.io/library/alpine:latest LABEL org.opencontainers.image.base.name="docker.io/library/alpine" LABEL org.opencontainers.image.title="Obfs4 Bridge" LABEL org.opencontainers.image.description="Obfs4 (Lyrebird) Bridge" -RUN apk --no-cache --no-interactive add libcap-utils && setcap cap_net_bind_service=+ep /usr/bin/lyrebird +RUN apk --no-cache --no-interactive add libcap-utils EXPOSE 443 COPY --from=bin /lyrebird /usr/bin/lyrebird +RUN setcap cap_net_bind_service=+ep /usr/bin/lyrebird ENTRYPOINT [ "/usr/bin/tor", "--bridgerelay", "1", "--servertransportplugin", "obfs4 exec /usr/bin/lyrebird", "--extorport", "auto", "--servertransportlistenaddr", "obfs4 0.0.0.0:443" ]