update
This commit is contained in:
@ -10,7 +10,7 @@ ARG \
|
||||
# Install necessary dependencies
|
||||
RUN apk add --no-cache git docker-cli python3 py3-pip && \
|
||||
curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
|
||||
|
||||
RUN adduser -s /bin/false -D -H actrunner
|
||||
# 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
|
||||
@ -18,10 +18,8 @@ RUN python3 -m venv /opt/ansible-venv && \
|
||||
# Optional: Additional steps for SSH/GitHub authentication or configuration
|
||||
|
||||
# Copy your add-on scripts and configuration files
|
||||
COPY run.sh /run.sh
|
||||
RUN chmod +x /run.sh
|
||||
|
||||
CMD [ "/run.sh" ]
|
||||
COPY rootfs /
|
||||
RUN chmod +x /etc/services.d/actrunner/*
|
||||
|
||||
# Labels
|
||||
LABEL \
|
||||
|
Reference in New Issue
Block a user