File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 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" ]
Original file line number Diff line number Diff line change 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 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments