|
@@ -13,7 +13,7 @@ RUN set -ex \
|
|
&& export COMMIT=$(git rev-parse --short HEAD) \
|
|
&& export COMMIT=$(git rev-parse --short HEAD) \
|
|
&& export VERSION=$(go run ./cmd/internal/read_tag) \
|
|
&& export VERSION=$(go run ./cmd/internal/read_tag) \
|
|
&& go build -v -trimpath -tags \
|
|
&& go build -v -trimpath -tags \
|
|
- "with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_reality_server,with_acme,with_clash_api" \
|
|
|
|
|
|
+ "with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_reality_server,with_acme,with_clash_api,with_tailscale" \
|
|
-o /go/bin/sing-box \
|
|
-o /go/bin/sing-box \
|
|
-ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \
|
|
-ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \
|
|
./cmd/sing-box
|
|
./cmd/sing-box
|