Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide more findings #116

Open
mcandre opened this issue Nov 27, 2018 · 0 comments
Open

Hide more findings #116

mcandre opened this issue Nov 27, 2018 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Nov 27, 2018

As a Docker users, I want dockerfile_lint to stop reporting some kinds of findings, such as "There is no 'EXPOSE' instruction" and "There is no 'CMD' instruction", so that I can focus on more useful findings.

I think I understand the point of these, encouraging developers to remember to configure ports and entrypoints for images. However, there are many images where it doesn't make sense to set these. Not all images are microservices: There are plenty that are meant to simply install complex software stacks, and leave it up to users downstream to setup their particular port/entrypoint needs.

I think such findings are not really worth reporting, but I would be satisfied if there were simply a way to hide these, such as with a command line flag. I don't want to silence all INFO findings, just these specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant