From aeb07fcdb735671205f21b7def07882e91029106 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Fri, 11 Sep 2026 14:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfiles/python/3.12.8-rocky8-dos/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dockerfiles/python/3.12.8-rocky8-dos/Dockerfile b/dockerfiles/python/3.12.8-rocky8-dos/Dockerfile index 71db63c..233f775 100644 --- a/dockerfiles/python/3.12.8-rocky8-dos/Dockerfile +++ b/dockerfiles/python/3.12.8-rocky8-dos/Dockerfile @@ -87,9 +87,7 @@ RUN set -eux; \ lib/python3.12/tkinter \ lib/python3.12/turtledemo \ lib/python3.12/lib2to3 \ - lib/python3.12/ensurepip \ - lib/python3.12/config-3.12-* \ - lib/python3.12/site-packages/*; \ + lib/python3.12/config-3.12-*; # ---- 删除 Python 缓存文件 ---- find ${PYTHON_HOME} -name '__pycache__' -type d -exec rm -rf {} + 2>/dev/null || true; \ find ${PYTHON_HOME} -name '*.pyc' -delete; \