Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andypoole committed May 1, 2019
0 parents commit 1edbe0c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3-alpine

RUN apk add --update git bash curl unzip zip openssl make

ENV TERRAFORM_VERSION="0.11.13"

RUN curl https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip > terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin && \
rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip

RUN pip install awscli boto3

ENTRYPOINT ["terraform"]
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# terraform-python

A Docker container that includes Terraform, Python and AWSCLI. Functions identically to the official Terraform container.

Pre-built containers are available on Dockerhub:
https://hub.docker.com/r/claranet/terraform-python

0 comments on commit 1edbe0c

Please sign in to comment.