This is a Docker image that contains tfsec, an excellent tool written by Liam Galvin for performing static code analysis on Terraform code.
This image will be rebuilt daily thanks to the fine folks at github, Travis CI, and of course, Docker Hub.
To build your own image:
docker build -t tfsec .
To use the daily build from Docker Hub:
docker run --rm -it -v "$(pwd):/workdir" wesleydeanflexion/tfsec .
To run your own image:
docker run --rm -it -v "$(pwd):/workdir" tfsec .