From 2e14d0bdc5064648a7b2fd0779fa2e668daefe93 Mon Sep 17 00:00:00 2001 From: "rE-Bo0t.bx1" <54429050+r3bo0tbx1@users.noreply.github.com> Date: Mon, 12 Jan 2026 19:40:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(docker):=20update=20dependen?= =?UTF-8?q?cy=20management=20in=20Dockerfile=20and=20Dockerfile.edge=20to?= =?UTF-8?q?=20use=20'go=20get=20-u'=20after=20module=20replacement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- Dockerfile.edge | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41ef764..b01130e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ RUN apk add --no-cache git WORKDIR /go/src/lyrebird RUN git clone https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird.git . \ - && go get -u ./... \ && go mod edit -replace=github.com/pion/transport/v3=github.com/pion/transport/v4@latest \ + && go get -u ./... \ && go mod tidy \ && CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/bin/lyrebird ./cmd/lyrebird diff --git a/Dockerfile.edge b/Dockerfile.edge index 13e5d07..b2a1859 100644 --- a/Dockerfile.edge +++ b/Dockerfile.edge @@ -5,8 +5,8 @@ RUN apk add --no-cache git WORKDIR /go/src/lyrebird RUN git clone https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird.git . \ - && go get -u ./... \ && go mod edit -replace=github.com/pion/transport/v3=github.com/pion/transport/v4@latest \ + && go get -u ./... \ && go mod tidy \ && CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/bin/lyrebird ./cmd/lyrebird