Skip to content

Commit 1edbe0c

Browse files
committed
Initial commit
0 parents  commit 1edbe0c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:3-alpine
2+
3+
RUN apk add --update git bash curl unzip zip openssl make
4+
5+
ENV TERRAFORM_VERSION="0.11.13"
6+
7+
RUN curl https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip > terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
8+
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin && \
9+
rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip
10+
11+
RUN pip install awscli boto3
12+
13+
ENTRYPOINT ["terraform"]

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# terraform-python
2+
3+
A Docker container that includes Terraform, Python and AWSCLI. Functions identically to the official Terraform container.
4+
5+
Pre-built containers are available on Dockerhub:
6+
https://hub.docker.com/r/claranet/terraform-python

0 commit comments

Comments
 (0)