Skip to content
Snippets Groups Projects
Commit 27bf5515 authored by kaiyou's avatar kaiyou
Browse files

Deploy terraform in the Docker image

parent cfb2a41f
Branches main
No related tags found
No related merge requests found
Pipeline #33643 passed
FROM python:alpine
# Install ansible
RUN apk --no-cache add openssh-client
RUN pip install ansible boto3 netaddr requests
# Install terraform
RUN cd /tmp \
&& wget https://releases.hashicorp.com/terraform/1.9.7/terraform_1.9.7_linux_amd64.zip -O terraform.zip \
&& unzip terraform.zip \
&& mv terraform /usr/local/bin \
&& chmod 0755 /usr/local/bin/terraform
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment