build: add optional feature tags to Makefile and Dockerfile

This commit is contained in:
xboard
2026-03-15 14:28:52 +08:00
parent 3478eb52a1
commit 744237ff56
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ COPY . .
RUN CGO_ENABLED=0 go build -ldflags "-s -w \
-X main.version=$(git describe --tags --always --dirty 2>/dev/null || echo dev) \
-X main.buildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
-tags with_quic \
-tags "with_quic with_utls" \
-o xboard-node ./cmd/xboard-node
# Runtime stage — sing-box & xray-core are embedded as Go libraries