.
Some checks failed
/ build-docker-image (push) Failing after 6s

This commit is contained in:
2024-09-07 01:55:53 +01:00
parent 9c6b4ee75b
commit 5466275dff
3 changed files with 4 additions and 5 deletions

18
docker/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get install -y gcc python3-dev
RUN apt-get install -y openssh-client
RUN apt-get install python3-pip -y
RUN apt-get install python3-virtualenv -y
RUN pip3 install ansible --break-system-packages
RUN pip3 install ansible-runner --break-system-packages
RUN mkdir /project
RUN mkdir /scripts
RUN mkdir /data
COPY scripts /scripts
COPY playbook-sample-project /project
ENTRYPOINT ["python3", "/scripts/run.py"]