This commit is contained in:
ai-dev
2024-11-01 17:43:35 +01:00
parent 7174ca5814
commit 4a50886434
2 changed files with 6 additions and 2 deletions

View File

@ -11,8 +11,9 @@ ARG \
RUN apk add --no-cache git docker-cli python3 py3-pip && \
curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
# Install Ansible via pip
RUN pip3 install --no-cache-dir ansible
# Create a directory for the virtual environment and install Ansible inside it
RUN python3 -m venv /opt/ansible-venv && \
/opt/ansible-venv/bin/pip install --no-cache-dir ansible
# Optional: Additional steps for SSH/GitHub authentication or configuration