We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--init
1 parent 6c8067c commit a0b4703Copy full SHA for a0b4703
README.md
@@ -66,6 +66,12 @@ Instead of installing directly, you can use the Docker image:
66
docker run --rm -v $(pwd):/data -t ghcr.io/terraform-linters/tflint
67
```
68
69
+To download plugins, you can override the entrypoint to a shell (`sh`) to run `--init` and the main command in a single `docker run` command:
70
+
71
+```console
72
+ docker run --rm -v $(pwd):/data -t --entrypoint /bin/sh ghcr.io/terraform-linters/tflint -c "tflint --init && tflint"
73
+```
74
75
### GitHub Actions
76
77
If you want to run on GitHub Actions, [setup-tflint](https://github.com/terraform-linters/setup-tflint) action is available.
0 commit comments