# Lint any Dockerfile during any Docker image build (https://depot.dev/changelog/2023-05-31-lint)

> Published 2023-05-31

With our latest CLI version, you can now specify a `--lint` flag and run a linter on your `Dockerfile`. We also added the ability to set the lint level of error that can fail your build. Check out more details on our blog post, [lint a Dockerfile on every build](/blog/dockerfile-lint-on-build).

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.