Skip to content
README.md 1.07 KiB
Newer Older
nimrod's avatar
nimrod committed
# Docker pre-commmit

**This project has been discontinued and has been replaced by
[pre-commit-hooks](https://git.shore.co.il/nimrod/pre-commit-hooks) and
[hadolint-py](https://github.com/AleksaC/hadolint-py).**

nimrod's avatar
nimrod committed
[![pipeline status](https://git.shore.co.il/nimrod/docker-pre-commit/badges/master/pipeline.svg)](https://git.shore.co.il/nimrod/docker-pre-commit/-/commits/master)

nimrod's avatar
nimrod committed
> Pre-commit hooks for Docker and docker-compose.

## Requirements

- [Docker](https://www.docker.com/).
- [pre-commit](https://pre-commit.com/) 0.18.0 or later.

## Usage example

```yaml
nimrod's avatar
nimrod committed
- repo: https://git.shore.co.il/nimrod/docker-pre-commit.git
  rev: v0.3.0
nimrod's avatar
nimrod committed
  hooks:
    - id: hadolint
    - id: docker-compose
    - id: dockerfile-lint
nimrod's avatar
nimrod committed
```

## License

This software is licensed under the MIT license (see `LICENSE.txt`).

## Author Information

nimrod's avatar
nimrod committed
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
nimrod's avatar
nimrod committed
is located at: <https://git.shore.co.il/explore/>.