22 lines
471 B
Docker
22 lines
471 B
Docker
FROM alpine:3.21
|
|
|
|
RUN apk add --no-cache \
|
|
ansible \
|
|
bash \
|
|
curl \
|
|
git \
|
|
openssh-client \
|
|
python3 \
|
|
py3-pip \
|
|
unzip
|
|
|
|
# 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
|