docker-pre-commit/.pre-commit-hooks.yaml
Ian Fijolek 96e53d68bb
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add hadolint
2020-05-19 13:27:54 -07:00

20 lines
552 B
YAML

---
- id: docker-compose-check
name: Validate docker-compose files
description: Checks that docker-compose files are valid
language: script
entry: compose-check.sh
files: docker-compose.y[a]{0,1}ml$
- 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