Hadolint: Lint Dockerfiles from the Command Line

https://thenewstack.io/hadolint-lint-dockerfiles-from-the-command-line/

10 points · 2 comments · view on lemmy.world

2 Comments

ablackcatstail@lemmy.goblackcat.com · 1 pts · 3y (1 reply)

Thank you for sharing this. I think it will help out incredibly when trying to troubleshoot Dockerfiles. Does it does the same thing for docker-compose.yml files?

ndotb@programming.dev · 2 pts · 3y

I haven't tried it for them, but the --no-install-recommends and delete list/package cache nags are some "doh" things I tend to forget.