feat/act-runner-ansible (#3)
Some checks failed
/ build-docker-image (push) Failing after 1m10s
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:
18
docker/act-runner_ansible/Dockerfile
Normal file
18
docker/act-runner_ansible/Dockerfile
Normal 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
|
||||
|
||||
5
docker/act-runner_ansible/docker-compose.yml
Normal file
5
docker/act-runner_ansible/docker-compose.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
runner:
|
||||
build:
|
||||
dockerfile: ./Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user