固定 Alpine 版本为 3.19 以解决包兼容性问题
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 3h9m41s

This commit is contained in:
2026-01-19 17:42:41 +08:00
parent 5be74f2698
commit 20a80982fe
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
# ================================
# 阶段 2: 运行阶段
# ================================
FROM alpine:latest
FROM alpine:3.19
# 安装运行时依赖
RUN apk add --no-cache ca-certificates tzdata bash