docker-pre-commit/.pre-commit-hooks.yaml

20 lines
552 B
YAML
Raw Normal View History

2020-05-19 20:27:54 +00:00
---
2018-05-21 17:31:29 +00:00
- id: docker-compose-check
name: Validate docker-compose files
2020-05-19 20:27:54 +00:00
description: Checks that docker-compose files are valid
language: script
2018-05-21 17:31:29 +00:00
entry: compose-check.sh
files: docker-compose.y[a]{0,1}ml$
2020-05-19 20:27:54 +00:00
- id: hadolint
name: Lint Dockerfiles
description: Runs hadolint Docker image to lint Dockerfiles
language: docker_image
entry: hadolint/hadolint hadolint
files: Dockerfile
- id: hadolint-system
name: Lint Dockerfiles
description: Runs system hadolint to lint Dockerfiles
language: system
entry: hadolint
files: Dockerfile