refactor: 目录重组,runtime-python3→runtime-python310、tools-ansible→app/ansible、dotnet6 示例→demo/dotnet6,并同步 README

This commit is contained in:
2026-02-14 21:33:46 +08:00
parent 5aa2b62299
commit 7da5941183
21 changed files with 7 additions and 14 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# 先下载 Python 源码包到当前目录,再基于本地文件构建镜像
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
docker build -t "${IMAGE}" .
docker push "${IMAGE}"