feat: ansible 镜像迁移至 image/tools-ansible,改用 runtime-python315 并锁定 ansible-core 2.16.3
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM registry.cn-shanghai.aliyuncs.com/odboy/kenaito:runtime-python315
|
||||
LABEL MAINTAINER="tianjun@odboy.cn"
|
||||
ENV TimeZone=Asia/Shanghai
|
||||
WORKDIR /home/admin
|
||||
|
||||
# 锁定 ansible-core 版本,避免 EPEL 仓库升级后构建结果漂移;版本不可用会让构建直接失败
|
||||
RUN set -e && yum install -y \
|
||||
epel-release \
|
||||
ansible-core-2.16.3; \
|
||||
ansible --version
|
||||
Reference in New Issue
Block a user