Skip to content

Commit 461d997

Browse files
author
FasterEdge
committed
fix(docker): bump golang build image to 1.26 to match go.mod 1.26.0
1 parent 8ce7da7 commit 461d997

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.7
22
# 多阶段构建:golang 编译 → alpine 精简运行镜像(约 10MB)
3-
FROM golang:1.25-alpine AS build
3+
FROM golang:1.26-alpine AS build
44
# 通过 goproxy.cn 拉取依赖, 避免在无外网代理环境(如国内网络/受限内网)构建超时
55
ENV GOPROXY=https://goproxy.cn,direct
66
WORKDIR /src

0 commit comments

Comments
 (0)