Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
feat: Terraform compliance tool added (#3)
Browse files Browse the repository at this point in the history
* feat: added terraform-compliance to image

* fix: removed white space

* fix: removed permission line

* fix: updated readme

* fix: updated docker image, resolved vulnerability.

Co-authored-by: nabil.aziz <[email protected]>
  • Loading branch information
azizn03 and nabil.aziz authored Aug 19, 2022
1 parent 4db4336 commit 6d3f851
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM summerwind/actions-runner:v2.291.1-ubuntu-20.04-3ca1152
FROM summerwind/actions-runner:v2.295.0-ubuntu-20.04-3724b46

USER root
WORKDIR /usr/workspace
Expand Down Expand Up @@ -56,4 +56,8 @@ RUN curl -LO https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubec
mv ./kubectl /usr/local/bin && \
kubectl version --client

ENV TERRAFORM_COMPLIANCE_VERSION="1.3.33"
RUN pip install terraform-compliance==v${TERRAFORM_COMPLIANCE_VERSION} && \
terraform-compliance --version

USER runner
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The intended purpose of this image is for it to be used as a Github runner with
- The [Azure CLI](https://packages.microsoft.com/repos/azure-cli/)
- Version [1.18.X](https://dl.google.com/go/go1.18.src.tar.gz) of the Go programming language
- Version [1.2.5](https://releases.hashicorp.com/terraform/1.2.5/) of infrastructure as code tool Terraform
- Version [1.3.33](https://terraform-compliance.com/) of a security and compliance focused test framework tool against terraform
- Version [0.38.X](https://github.com/gruntwork-io/terragrunt/releases/download/v0.38.4/terragrunt_linux_amd64) of Terraform wrapper Terragrunt
- Version [0.10.X](https://github.com/loft-sh/vcluster/releases/download/v0.10.2/vcluster-linux-amd64) of vcluster, a tool for creating virtual Kubernetes clusters
- Version [1.24.X](https://storage.googleapis.com/kubernetes-release/release/v1.24.0/bin/linux/amd64/kubectl) of kubectl, a command-line tool that allows you to run commands against Kubernetes clusters

0 comments on commit 6d3f851

Please sign in to comment.