yetus icon indicating copy to clipboard operation
yetus copied to clipboard

YETUS-1199. Add ability to ignore hadolint warnings

Open GauthamBanasandra opened this issue 3 years ago • 1 comments

  • This PR adds the option --hadolint-ignore-list which can be used to ignore the warnings detected by hadolint.

GauthamBanasandra avatar Sep 01 '22 17:09 GauthamBanasandra

This ability already exists in two ways, both native to the hadolint binary without needing a code change in Apache Yetus:

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.

aw-was-here avatar Sep 01 '22 19:09 aw-was-here

Using .hadolint.yaml file

I'll make peace with this. Closing this PR. Thanks @aw-was-here .

GauthamBanasandra avatar Sep 15 '22 04:09 GauthamBanasandra