From 19da41b87bfc45e22dad7ae01aa4610205494cfd Mon Sep 17 00:00:00 2001 From: "rE-Bo0t.bx1" <54429050+r3bo0tbx1@users.noreply.github.com> Date: Mon, 12 Jan 2026 19:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(docker):=20update=20dependen?= =?UTF-8?q?cy=20management=20in=20Dockerfile=20and=20Dockerfile.edge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- Dockerfile.edge | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 301cf4d..41ef764 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,9 @@ 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 mod download \ + && go get -u ./... \ + && go mod edit -replace=github.com/pion/transport/v3=github.com/pion/transport/v4@latest \ + && go mod tidy \ && CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/bin/lyrebird ./cmd/lyrebird FROM alpine:3.23.2 diff --git a/Dockerfile.edge b/Dockerfile.edge index f6ee551..13e5d07 100644 --- a/Dockerfile.edge +++ b/Dockerfile.edge @@ -5,7 +5,9 @@ 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 mod download \ + && go get -u ./... \ + && go mod edit -replace=github.com/pion/transport/v3=github.com/pion/transport/v4@latest \ + && go mod tidy \ && CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/bin/lyrebird ./cmd/lyrebird FROM alpine:edge