chore(deploy): 移除Alpine镜像中国镜像源配置
- 删除了阿里云镜像源设置,恢复默认apk仓库配置 - 简化了Dockerfile中系统操作部分的镜像源处理 - 保持基础镜像的官方仓库更新操作不变 - 提高Dockerfile在不同网络环境下的通用性
This commit is contained in:
@@ -29,10 +29,6 @@ ENV TZ=Asia/Shanghai \
|
||||
# Switch to root to perform system operations
|
||||
USER root
|
||||
|
||||
# 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 runtime dependencies
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
|
||||
Reference in New Issue
Block a user