chore: not using goproxy by default (#4613)

This commit is contained in:
Kevin Wan
2025-01-29 12:28:47 +08:00
committed by GitHub
parent 9213b8ac27
commit f669d84ce8
12 changed files with 39 additions and 98 deletions

View File

@@ -3,7 +3,8 @@ FROM golang:alpine AS builder
LABEL stage=gobuilder
ENV CGO_ENABLED=0
ENV GOPROXY=https://goproxy.cn,direct
# if you are in China, you can use the following command to speed up the download
# ENV GOPROXY=https://goproxy.cn,direct
RUN apk update --no-cache && apk add --no-cache tzdata
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest