Check Dockerfiles
check_dockerfileValidate Dockerfiles for build-breaking syntax, risky root users and secrets, cache-order issues, and base image tag/EOL status, with line-level findings and fixes.
Instructions
Checks Dockerfiles: syntax, what breaks the build (apt-get install without -y, copies outside the context, unknown stages), root users, secrets in ENV/ARG, cache order, and each base image against its registry (tag exists, digest to pin, platforms, last rebuild) and end-of-life dates. Findings have line and fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| platform | No | the platform you build for, e.g. linux/arm64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes |