chore: add Hadolint Dockerfile linting
All checks were successful
continuous-integration/drone/pr Build is passing

* as per #22
* update PR pipeline in .drone.yml
* add .hadolint.yaml
This commit is contained in:
surtur 2021-01-24 14:40:41 +01:00
parent d6510fbd9b
commit ddef170d87
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 14 additions and 0 deletions

@ -24,6 +24,12 @@ steps:
commands:
- uname -r
- name: hadolint
pull: always
image: hadolint/hadolint:latest
commands:
- uname -r
- hadolint --version
---
kind: pipeline
@ -68,6 +74,12 @@ depends_on:
- build
steps:
- name: hadolint
image: hadolint/hadolint:latest
commands:
- hadolint --version
- hadolint Dockerfile
- name: build
pull: always
image: tmaier/docker-compose:latest

2
.hadolint.yaml Normal file

@ -0,0 +1,2 @@
ignored:
- DL3007