add: cn proxy

This commit is contained in:
Asadz
2026-04-24 20:26:06 +08:00
committed by wwweww
parent e4fcc4e74e
commit e7210260d6
6 changed files with 109 additions and 64 deletions
+1
View File
@@ -40,6 +40,7 @@ DOCKERFILE_NO_CONFIG_TPL = """\
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache tzdata
WORKDIR /build
ARG GOPROXY="https://goproxy.cn,direct"
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod go mod download
COPY . .