Add custom runner image with ansible, terraform, community.docker

This commit is contained in:
Ryan Moon
2026-03-31 18:29:15 -05:00
parent 7c2e44d8b6
commit 5c62f90b7f
4 changed files with 53 additions and 8 deletions

24
runner/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
ansible \
curl \
git \
gnupg \
openssh-client \
python3 \
python3-pip \
unzip \
&& rm -rf /var/lib/apt/lists/*
# Terraform
RUN curl -fsSL https://releases.hashicorp.com/terraform/1.10.5/terraform_1.10.5_linux_amd64.zip -o terraform.zip \
&& unzip terraform.zip -d /usr/local/bin \
&& rm terraform.zip
# Ansible collections
RUN ansible-galaxy collection install community.docker
RUN terraform --version && ansible --version