A linter for YAML files.
This image is yamllint wrapper. It does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.
It is a useful tool, but there is no official image. Therefore, this repository distributes a lightweight image based on alpine.
You can pull from Docker Hub or GitHub Packages, whichever you prefer.
docker pull tmknom/yamllint
For more information, see Docker Hub.
docker pull ghcr.io/tmknom/dockerfiles/yamllint
For more information, see GitHub Packages.
docker run --rm -v $(pwd):/work tmknom/yamllint foo.yml
docker run --rm -v $(pwd):/work tmknom/yamllint -- .
docker run --rm tmknom/yamllint --help
Apache 2 Licensed. See LICENSE for full details.
Content type
Image
Digest
sha256:cef989514…
Size
16.7 MB
Last updated
over 1 year ago
docker pull tmknom/yamllint