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:
hadolint Enables building the hadolint executable, though you might prefer to use the hadolint package directly
- dockerfmt Builds example pretty-printer usage, which reads a Dockerfile and pretty-prints it to stdout
See the GitHub project for the source-code and examples.