fix: runtime-python310 精简非必需构建依赖并清理源码树;ansible 改为基于 runtime-python310

This commit is contained in:
2026-02-21 21:07:23 +08:00
parent 7da5941183
commit 2961bdb48b
3 changed files with 4 additions and 40 deletions
+1 -8
View File
@@ -3,13 +3,6 @@
set -euo pipefail
cd "$(dirname "$0")"
PYTHON=Python-3.10.0.tgz
URL=https://www.python.org/ftp/python/3.10.0/${PYTHON}
if [ ! -f "${PYTHON}" ]; then
curl -fL -o "${PYTHON}" "${URL}"
fi
IMAGE=registry.cn-shanghai.aliyuncs.com/odboy/kenaito:tools-ansible
IMAGE=registry.cn-shanghai.aliyuncs.com/odboy/kenaito:ansible
docker build -t "${IMAGE}" .
docker push "${IMAGE}"