A minimal yamllint container useful for linting yaml files.
10K+
A minimal yamllint image useful for linting yaml files.
https://yamllint.readthedocs.io/en/latest/
// 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
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
Content type
Image
Digest
sha256:fe59d2fda…
Size
22.4 MB
Last updated
about 2 months ago
docker pull wpengine/yamllint