dockerfile 添加代理
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 53s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 53s
This commit is contained in:
parent
a632bc7332
commit
d35dfba895
@ -6,6 +6,9 @@ WORKDIR /usr/src/app
|
||||
# 安装必要的构建工具
|
||||
RUN apk add --no-cache gcc musl-dev
|
||||
|
||||
# 设置 GOPROXY 环境变量
|
||||
ENV GOPROXY=https://goproxy.cn,direct
|
||||
|
||||
# 复制 Go 项目文件
|
||||
COPY . .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user