yetus
yetus copied to clipboard
YETUS-1199. Add ability to ignore hadolint warnings
- This PR adds the option --hadolint-ignore-list which can be used to ignore the warnings detected by hadolint.
This ability already exists in two ways, both native to the hadolint binary without needing a code change in Apache Yetus:
-
Using .hadolint.yaml file
Both documented on the hadolint page
Since precommit doesn't really do this extra work for other tools without a good reason, I'd like to hear what the reasons are these other methods don't work. Otherwise, I'm very much a -1.
Using .hadolint.yaml file
I'll make peace with this. Closing this PR. Thanks @aw-was-here .