Files
Kubernetes/CICD/Ansible/Dockerfile
offends 8a87b699ba
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-13 18:06:23 +08:00

13 lines
303 B
Docker

FROM ubuntu:22.04
VOLUME /root/.ssh
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt update && apt install ansible sshpass -y \
&& rm -rf /etc/localtime \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& mkdir -p /etc/ansible
VOLUME /etc/ansible
WORKDIR /etc/ansible