首次提交,用于实现安装VNCServer

This commit is contained in:
junlan
2025-07-26 16:37:12 +08:00
commit 2cbc7114ef
19 changed files with 346 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# 使用 RockyLinux 10.0 最小化镜像
FROM rockylinux/rockylinux:10.0-minimal
RUN microdnf install -y python3 python3-pip openssh-clients less && pip3 install --no-cache-dir ansible-core==2.19.0 pywinrm && ansible-galaxy collection install ansible.windows && microdnf clean all
RUN mkdir -p /data/ansible
WORKDIR /data/ansible
# 默认启动命令(保持容器运行)
CMD ["tail", "-f", "/dev/null"]