feat: update Go base image to version 1.24 in Dockerfile

This commit is contained in:
王锦强
2025-03-17 00:04:59 +08:00
parent 2cae43a1d0
commit ab0db0854c

View File

@@ -1,5 +1,5 @@
# 使用官方 Golang 镜像作为构建环境 # 使用官方 Golang 镜像作为构建环境
FROM golang:1.22-alpine AS builder FROM golang:1.24-alpine AS builder
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
ENV GOPROXY=https://goproxy.cn,direct ENV GOPROXY=https://goproxy.cn,direct