mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Make gVisor optional
This commit is contained in:
parent
ad14719b14
commit
668d354771
17 changed files with 53 additions and 39 deletions
|
@ -8,7 +8,7 @@ ENV CGO_ENABLED=0
|
|||
RUN set -ex \
|
||||
&& apk add git build-base \
|
||||
&& export COMMIT=$(git rev-parse --short HEAD) \
|
||||
&& go build -v -trimpath -tags 'no_gvisor,with_quic,with_wireguard,with_acme' \
|
||||
&& go build -v -trimpath -tags with_quic,with_wireguard,with_acme \
|
||||
-o /go/bin/sing-box \
|
||||
-ldflags "-s -w -buildid=" \
|
||||
./cmd/sing-box
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue