Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
elpapi42 committed Feb 18, 2021
1 parent 96eaacc commit 22e34c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM google/cloud-sdk:latest

RUN apt-get install software-properties-common -y && apt-get update -y
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
RUN apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
RUN apt-get update -y && apt-get install terraform -y && apt install jq -y
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# terraform-gcloud-image
Terraform installed on top of google/cloud-sdk image. Ideal for CD Pipelines that require both GCloud SDK and Terraform.
# Terraform/GCloudSDK Dockerfile Repo
Are you a DevOps Engineer declaring IaC with Terraform and Deploying to GCP? use this image in your pipelines for simplify your job.

0 comments on commit 22e34c2

Please sign in to comment.