Open Andrew-Chen-Wang opened 8 months ago
I can work on this, is this still relevant? The problem is that still pre-commit throws some errors on some files that need to be fixed or in some cases ignored. However they could be solved in a different issue. I can work on this also fix them so that the pre-commit comes clean right of the box.
Feel free to use this pre-commit as a starting point:
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint
exclude: ^.*\.jinja2$
It does seem like it's not maintained; finding an alternative may be beneficial.
Description
Adding hadolint to pre-commit
Rationale
Linting Dockerfile. Current lint warnings: