feat/act-runner-ansible (#3)
Some checks failed
/ build-docker-image (push) Failing after 1m10s

Co-authored-by: Márcio Fernandes <marcio.fernandes@outlook.pt>
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2024-11-02 21:23:54 +00:00
parent be7f9a65a9
commit b7646d2500
5 changed files with 74 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
FROM gitea/act_runner:0.2.11
RUN echo "build started.."
RUN apk update && \
apk add --no-cache openssh-client && \
apk add --no-cache curl && \
apk add --no-cache ansible && \
apk add --no-cache nodejs && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/*
RUN mkdir /ansible && \
mkdir -p /etc/ansible && \
echo 'localhost' > /etc/ansible/hosts

View File

@@ -0,0 +1,5 @@
services:
runner:
build:
dockerfile: ./Dockerfile