feat: ansible 镜像迁移至 image/tools-ansible,改用 runtime-python315 并锁定 ansible-core 2.16.3
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
# 由 build.sh 预下载的 Python 源码包经 ADD 解压进镜像,
|
||||
# ADD 的源文件必须在构建上下文内,因此 *.tgz 不能在这里忽略
|
||||
build.sh
|
||||
.git/
|
||||
.DS_Store
|
||||
@@ -1,3 +0,0 @@
|
||||
# 构建产物 / 本地缓存
|
||||
*.tgz
|
||||
.DS_Store
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM registry.cn-shanghai.aliyuncs.com/odboy/kenaito:runtime-python310
|
||||
LABEL MAINTAINER="tianjun@odboy.cn"
|
||||
ENV TimeZone=Asia/Shanghai
|
||||
WORKDIR /home/admin
|
||||
|
||||
RUN set -e && yum install -y \
|
||||
epel-release \
|
||||
ansible;
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# 先下载 Python 源码包到当前目录,再基于本地文件构建镜像
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
IMAGE=registry.cn-shanghai.aliyuncs.com/odboy/kenaito:ansible
|
||||
docker build -t "${IMAGE}" .
|
||||
docker push "${IMAGE}"
|
||||
Reference in New Issue
Block a user