Sign inSign up

wpengine/yamllint

By wpengine

•Updated about 2 months ago

A minimal yamllint container useful for linting yaml files.

Image
0

10K+

wpengine/yamllint repository overview

⁠yamllint

A minimal yamllint image useful for linting yaml files.

https://yamllint.readthedocs.io/en/latest/⁠

⁠usage

// Lint all the files and folders in the current directory

docker run --rm -v `pwd`:/workspace wpengine/yamllint /workspace

// Lint particular files

docker run --rm -v `pwd`:/workspace wpengine/yamllint /workspace/file1.yaml /workspace/file2.yaml

⁠configuration

If run from a directory with a .yamllint configuration file, it will not be picked up automatically by mounting the directory/file when running. There is already a .yamllintrc file in the image, so it only needs to be overridden to work correctly.

docker run --rm -v `pwd`:/workspace -v /full/path/to/.yammllintrc:/yamllint/.yamllintrc wpengine/yamllint /workspace

Tag summary

Content type

Image

Digest

sha256:fe59d2fda…

Size

22.4 MB

Last updated

about 2 months ago

docker pull wpengine/yamllint