6 ms·
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/hadoli
by codereflection 7y 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 https://github.com/hadolint/hadolint.
- throwaway894345 7y agoI 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).
- dunk010 7y agoHadolint is nice. Hadolint addresses none of the major issues you raise.
- codereflection 7y agoHadolint 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.
- kortilla 7y agoYeah, you replied to the wrong post. You should have replied to the parent of the one you replied to.
- codereflection 7y agoYep