synchronization
This commit is contained in:
13
CICD/Ansible/Dockerfile
Normal file
13
CICD/Ansible/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user