Skip to content

Instantly share code, notes, and snippets.

@kaikousa
Last active December 14, 2023 12:08
Show Gist options
  • Save kaikousa/1a951df681ad2f11b5b0b77180238c44 to your computer and use it in GitHub Desktop.
Save kaikousa/1a951df681ad2f11b5b0b77180238c44 to your computer and use it in GitHub Desktop.
Install Terraform on Docker
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN wget --quiet https://releases.hashicorp.com/terraform/0.11.3/terraform_0.11.3_linux_amd64.zip \
&& unzip terraform_0.11.3_linux_amd64.zip \
&& mv terraform /usr/bin \
&& rm terraform_0.11.3_linux_amd64.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment