chore(docker): 删除阿里云 Alpine 镜像源配置

- 移除了 Dockerfile 中配置的 Alpine 镜像中国区镜像源
- 保持默认 Alpine 仓库以简化源配置
- 优化 Dockerfile 代码结构,减少冗余配置
- 维持基础镜像和依赖安装逻辑不变
This commit is contained in:
danial
2025-12-08 00:08:23 +08:00
parent 5a60c9bbff
commit 3e7ee4be89

View File

@@ -11,10 +11,6 @@ ENV TZ=Asia/Shanghai \
GOOS=linux \
GOARCH=amd64
# Set up Alpine repositories (use China mirror for faster downloads)
RUN echo "https://mirrors.aliyun.com/alpine/v3.22/main/" > /etc/apk/repositories && \
echo "https://mirrors.aliyun.com/alpine/v3.22/community/" >> /etc/apk/repositories
# Install all dependencies
RUN apk update && \
apk upgrade && \