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

Treat "apt-get clean is not used" as an error #115

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

Treat "apt-get clean is not used" as an error #115

mcandre opened this issue Nov 27, 2018 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Nov 27, 2018

As an engineer, I want dockerfile_lint to exit with a non-zero status when apt-get commands are referenced, but apt-get clean is never referenced, so that I can proactively reduce the size of my images.

Currently, dockerfile_lint reports this finding as an "INFO"-level finding. I would prefer that this either be considered a WARN-level finding. Or, have some other way to configure dockerfile_lint to treat certain INFO-level warnings as errors.

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