Compare commits
4 Commits
aeda358a4a
...
9a22a2046c
Author | SHA1 | Date |
---|---|---|
IamTheFij | 9a22a2046c | |
IamTheFij | 67b85ce990 | |
IamTheFij | 86d69eafb9 | |
Lars K.W. Gohlke | 6cf90c5656 |
|
@ -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/hadolint/hadolint) to lint Dockerfiles.
|
||||
Uses the [hadolint Docker image](https://hub.docker.com/r/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 "To ignore, use --no-verify"
|
||||
echo "Some compose files failed"
|
||||
fi
|
||||
|
||||
exit $has_error
|
||||
|
|
Loading…
Reference in New Issue