25 lines
568 B
Docker
25 lines
568 B
Docker
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
|