From b5b1f4280bfde772f344e82d1e82d92e1659c232 Mon Sep 17 00:00:00 2001 From: Odboy Date: Sat, 12 Jul 2025 21:41:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20System=20=E9=95=9C=E5=83=8F=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=20yum=20update=20=E5=B9=B6=E6=B8=85=E7=90=86=20python?= =?UTF-8?q?3.6=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/Dockerfile b/System/Dockerfile index 7907dbe..00de637 100644 --- a/System/Dockerfile +++ b/System/Dockerfile @@ -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;