You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by GitBox <gi...@apache.org> on 2022/09/01 19:06:05 UTC

[GitHub] [yetus] aw-was-here commented on pull request #287: YETUS-1199. Add ability to ignore hadolint warnings

aw-was-here commented on PR #287:
URL: https://github.com/apache/yetus/pull/287#issuecomment-1234673160

   This ability already exists in two ways, both native to the hadolint binary without needing a code change in Apache Yetus:
   
   * Using [hadolint ignore directives](https://github.com/apache/yetus/blob/main/precommit/src/main/shell/test-patch-docker/Dockerfile#L43)
   
   * Using .hadolint.yaml file
   
   Both documented on the [hadolint page](https://github.com/hadolint/hadolint#configure)
   
   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@yetus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org