chore: System 镜像执行 yum update 并清理 python3.6 目录

This commit is contained in:
2025-07-12 21:41:39 +08:00
parent 33db567776
commit b5b1f4280b
+3 -1
View File
@@ -10,4 +10,6 @@ WORKDIR /home/admin
# net-tools \
# bind-utils -y;
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone; \
sed -i 's/mirrors.cloud.aliyuncs.com/mirrors.aliyun.com/' /etc/yum.repos.d/*.repo;
sed -i 's/mirrors.cloud.aliyuncs.com/mirrors.aliyun.com/' /etc/yum.repos.d/*.repo; \
yum update -y && yum clean all; \
rm -rf /usr/lib/python3.6;