去除--no-cache
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Song367 2025-12-27 19:07:05 +08:00
parent 2d97992690
commit c4604a2989

View File

@ -4,7 +4,7 @@ FROM golang:1.21-alpine AS go-builder
WORKDIR /usr/src/app
# 安装必要的构建工具
RUN apk add --no-cache gcc musl-dev
RUN apk add gcc musl-dev
# 设置 GOPROXY 环境变量
ENV GOPROXY=https://goproxy.cn,direct