February 2017
Intermediate to advanced
440 pages
8h 45m
English
Like any other language, Dockerfiles can and should be linted for updated best practices and code quality checks. Docker is no exception to the rule, and good practices are always moving, getting updates, and might also be a little different between communities. In this section, we'll start with a basic Dockerfile found earlier and end up with a fully double-checked linted file.
To step through this recipe, you will need the following:
Many different linters exist for linting Dockerfiles: Hadolint (http://hadolint.lukasmartinelli.ch/) maybe the most used linter, while Project Atomic's dockerfile_lint project is perhaps the most complete one (https://github.com/projectatomic/dockerfile_lint ...
Read now
Unlock full access