Skip to content

Commit

Permalink
Update Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberworm-uk authored May 26, 2024
1 parent cac3b7d commit 6e993f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion obfs4-bridge/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 6e993f6

Please sign in to comment.