Hacker News new | ask | show | jobs
by codereflection 2328 days ago
Speaking of best practices for Dockerfiles and CI/CD, a lot of these issues can be highlighted at build time with a Docker linter like https://github.com/hadolint/hadolint.
1 comments

I didn't know about hadolint, but I don't see how it (or any other linter) can address any of these issues (unless "these issues" is not referring to the issues I was mentioning in the post you responded to).
Hadolint will tell about things like adding --no-cache to apk add. My point being that comments were made about not following best practices, and hadolint will help with that.
Yeah, you replied to the wrong post. You should have replied to the parent of the one you replied to.
Yep
Hadolint is nice. Hadolint addresses none of the major issues you raise.