Compare commits
No commits in common. "9a22a2046cabc27fa2f3b42fdc7e8222edb3e584" and "aeda358a4a1a064958fd994c9209047bd8c783c8" have entirely different histories.
9a22a2046c
...
aeda358a4a
|
@ -8,7 +8,7 @@ A set of [pre-commit](http://pre-commit.com) hooks for Docker services
|
|||
Verifies that docker-compose files are valid by using `docker-compose config` to parse them.
|
||||
|
||||
### hadolint
|
||||
Uses the [hadolint Docker image](https://hub.docker.com/r/hadolint/hadolint) to lint Dockerfiles.
|
||||
Uses the [hadolint Docker image](https://hub.docker.com/hadolint/hadolint) to lint Dockerfiles.
|
||||
|
||||
### hadolint-system
|
||||
Uses the whatever version of hadolint that you have installed to lint Dockerfiles. This requires you to have hadolint installed somewhere in your path.
|
||||
|
|
|
@ -24,7 +24,7 @@ check_files() {
|
|||
}
|
||||
|
||||
if ! check_files "$@" ; then
|
||||
echo "Some compose files failed"
|
||||
echo "To ignore, use --no-verify"
|
||||
fi
|
||||
|
||||
exit $has_error
|
||||
|
|
Loading…
Reference in New Issue