Update documentation

This commit is contained in:
世界 2022-09-07 23:10:12 +08:00
parent 4b61d6e875
commit f376683fc3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 11 additions and 2 deletions

View file

@ -7,7 +7,7 @@ ENV GOPROXY ${GOPROXY}
ENV CGO_ENABLED=0
RUN set -ex \
&& apk add git build-base \
&& export COMMIT=$(git rev-parse HEAD) \
&& export COMMIT=$(git rev-parse --short HEAD) \
&& go build -v -trimpath -tags 'no_gvisor,with_quic,with_wireguard,with_acme' \
-o /go/bin/sing-box \
-ldflags "-X github.com/sagernet/sing-box/constant.Commit=${COMMIT} -w -s -buildid=" \