补充 go 镜像配置

This commit is contained in:
2026-10-15 16:35:42 +08:00
parent b67a62b023
commit 4e4abc1f27

View File

@@ -1,4 +1,5 @@
FROM golang:1.26.5-alpine AS build FROM golang:1.26.5-alpine AS build
ARG GOPROXY=https://goproxy.cn,direct
WORKDIR /src WORKDIR /src
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download