ngbs 1 rok temu
rodzic
commit
0671a40a36
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      sing-box/Dockerfile
  2. 1 1
      sing-box/Dockerfile.latest

+ 1 - 1
sing-box/Dockerfile

@@ -9,7 +9,7 @@ RUN set -ex && \
     export COMMIT=$(git rev-parse --short HEAD) && \
     export VERSION=$(wget -qO- https://api.github.com/repos/sagernet/sing-box/tags | grep '"name":' | head -n 1 | sed -E 's/.*"([^"]+)".*/\1/') && \
     git clone --depth 1 --branch dev-next https://github.com/sagernet/sing-box.git . && \
-    go build -v -trimpath -tags with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_clash_api,with_acme \
+    go build -v -trimpath -tags with_gvisor,with_quic,with_grpc,with_wireguard,with_ech,with_utls,with_reality_server,with_clash_api,with_acme \
         -o /go/bin/sing-box \
         -ldflags "-X \"github.com/sagernet/sing-box/constant.Version=${VERSION}\" -s -w -buildid=" \
         ./cmd/sing-box

+ 1 - 1
sing-box/Dockerfile.latest

@@ -9,7 +9,7 @@ RUN set -ex && \
     export COMMIT=$(git rev-parse --short HEAD) && \
     export VERSION=$(wget -qO- https://api.github.com/repos/sagernet/sing-box/releases/latest | grep '"tag_name":' | head -n 1 | sed -E 's/.*"([^"]+)".*/\1/') && \
     git clone --depth 1 https://github.com/sagernet/sing-box.git . && \
-    go build -v -trimpath -tags with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_clash_api,with_acme \
+    go build -v -trimpath -tags with_gvisor,with_quic,with_grpc,with_wireguard,with_ech,with_utls,with_reality_server,with_clash_api,with_acme \
         -o /go/bin/sing-box \
         -ldflags "-X \"github.com/sagernet/sing-box/constant.Version=${VERSION}\" -s -w -buildid=" \
         ./cmd/sing-box