language-dockerfile-0.3.4.0: Dockerfile linter, parser, pretty-printer and embedded DSL
Forked from hadolint.
All functions for parsing, printing and writting Dockerfiles are exported through Language.Dockerfile. For more fine-grained operations look for specific modules that implement a certain functionality.
There are two flags in this package, which enable building two executables:
hadolintEnables building thehadolintexecutable, though you might prefer to use the hadolint package directlydockerfmtBuilds example pretty-printer usage, which reads a Dockerfile and pretty-prints it to stdout
See the GitHub project for the source-code and examples.