cleanup
All checks were successful
/ build-docker-image (push) Successful in 10s

This commit is contained in:
2025-11-16 22:44:06 +00:00
parent d701fdb2a4
commit 07058cc39b
6 changed files with 14 additions and 221 deletions

View File

@@ -1,18 +1,10 @@
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
FROM alpine:latest
RUN mkdir /project
RUN mkdir /scripts
RUN mkdir /data
RUN echo "build started.."
COPY scripts /scripts
COPY playbook-sample-project /project
# Install Ansible
RUN apk add --no-cache ansible
# Verify installation
RUN ansible --version
ENTRYPOINT ["python3", "/scripts/run.py"]