Skip to content

MahaGamal/yamllint-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A Docker image for yamllint

This repository provides an automated build for a lean yamllint Docker image.

Informations

Installation

Pull the image from the Docker repository.

docker pull mahaga50/yamllint

Usage

To lint the file test.yaml and All files in folder dir1 in your current directory:

docker run --rm -ti -v $(pwd):/workdir mahaga50/yamllint test.yaml dir1/*.yaml

Build

Optionally install python dependencies at build time :

docker build --rm -t mahaga50/yamllint .
docker build --rm --build-arg PYTHON_DEPS="flask_oauthlib>=0.9" -t mahaga50/yamllint .

Releases

No releases published

Packages

No packages published