-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1edbe0c
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |