chore: System 镜像执行 yum update 并清理 python3.6 目录
This commit is contained in:
+3
-1
@@ -10,4 +10,6 @@ WORKDIR /home/admin
|
|||||||
# net-tools \
|
# net-tools \
|
||||||
# bind-utils -y;
|
# bind-utils -y;
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone; \
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user