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

This commit is contained in:
2024-09-04 22:48:43 +01:00
parent d5edc731f3
commit 488429244e
8 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
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 /workspace
RUN mkdir /scripts
COPY scripts /scripts
COPY playbook-sample-workspace /workspace
ENTRYPOINT ["python3", "/scripts/run-ansible-playbook.py"]