Sign inSign up

tmknom/yamllint

By tmknom

•Updated over 1 year ago

A linter for YAML files.

Image
0

50K+

tmknom/yamllint repository overview

⁠yamllint

A linter for YAML files.

⁠Description

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.

⁠Docker registries

You can pull from Docker Hub or GitHub Packages, whichever you prefer.

⁠Docker Hub
docker pull tmknom/yamllint

For more information, see Docker Hub⁠.

⁠GitHub Packages
docker pull ghcr.io/tmknom/dockerfiles/yamllint

For more information, see GitHub Packages⁠.

⁠Usage

⁠Lint a YAML file
docker run --rm -v $(pwd):/work tmknom/yamllint foo.yml
⁠Lint all YAML files in a directory
docker run --rm -v $(pwd):/work tmknom/yamllint -- .
⁠Help
docker run --rm tmknom/yamllint --help

⁠Supported platforms

  • linux/amd64
  • linux/arm64

⁠Source repository

⁠License

Apache 2 Licensed. See LICENSE⁠ for full details.

Tag summary

Content type

Image

Digest

sha256:cef989514…

Size

16.7 MB

Last updated

over 1 year ago

docker pull tmknom/yamllint