mirror of
https://github.com/r3bo0tbx1/tor-guard-relay.git
synced 2026-04-06 00:32:04 +02:00
🐛 fix(docker): update dependency management in Dockerfile and Dockerfile.edge
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user