Update
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user