fix: runtime-python310 精简非必需构建依赖并清理源码树;ansible 改为基于 runtime-python310
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user