[REF] dockerlint has a more descriptive log for error than docklint, …
with this comparison:
Dockerlint
===== [ CHECKING ./odoo70/Dockerfile ] =====
INFO: ./odoo70/Dockerfile is OK.
===== [ CHECKING ./odoo61/Dockerfile ] =====
INFO: ./odoo61/Dockerfile is OK.
===== [ CHECKING ./odoo-shippable/Dockerfile ] =====
WARN: sudo(8) usage found on line 12 which is discouraged
ERROR: ./odoo-shippable/Dockerfile failed.
----- [ FINISHED IN ERROR ] -----
===== [ CHECKING ./odoo80/Dockerfile ] =====
WARN: sudo(8) usage found on line 55 which is discouraged
ERROR: ./odoo80/Dockerfile failed.
----- [ FINISHED IN ERROR ] -----
vs
Docklint
===== [ CHECKING ./odoo70/Dockerfile ] =====
VALIDATION FAILED
Invalid instruction
at line 20
Missing CMD
----- [ FINISHED IN ERROR ] -----
===== [ CHECKING ./odoo61/Dockerfile ] =====
VALIDATION FAILED
Missing CMD
----- [ FINISHED IN ERROR ] -----
===== [ CHECKING ./odoo-shippable/Dockerfile ] =====
VALIDATION FAILED
Invalid instruction
at line 136
Invalid instruction
at line 138
Invalid instruction
at line 140
Missing CMD
----- [ FINISHED IN ERROR ] -----
===== [ CHECKING ./odoo80/Dockerfile ] =====
VALIDATION FAILED
Missing CMD
----- [ FINISHED IN ERROR ] -----
I propose to use dockerlint https://github.com/RedCoolBeans/dockerlint