메인 브런치로 이동
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.11.9-alpine3.20
|
||||
|
||||
LABEL version="1.0"
|
||||
LABEL agent_list="host,container,ndm"
|
||||
|
||||
RUN \
|
||||
pip3 install ansible && \
|
||||
apk add openssh
|
||||
|
||||
WORKDIR /installer
|
||||
|
||||
COPY ./installer ./
|
||||
|
||||
CMD ["ansible-playbook", "-i", "/installer/inventory", "/installer/agent.yml"]
|
||||
Reference in New Issue
Block a user