Lint a Dockerfile against a rule-based subset of Hadolint checks: untagged or :latest base images, interactive or unpinned apt-get installs, apt list cleanup, apk cache, ADD for local files, shell-form CMD/ENTRYPOINT, running as root and a missing HEALTHCHECK. Lines joined with a trailing backslash count as one instruction, and each issue reports its line in the original file.
post/calculate/dockerfile-linter
Request
- Base URL: https://utility-matrix.com
- URL: https://utility-matrix.com/calculate/dockerfile-linter
- Auth: none declared
Request body
Example request
{
"dockerfile": "example"
}Response
Successful calculation
Changes
No recorded changes to this operation across all 1 revision of this API.