chore: add Hadolint Dockerfile linting #27

Merged
wanderer merged 2 commits from add-hadolint-Dockerfile-linting into master 2021-02-16 16:11:31 +01:00
2 changed files with 14 additions and 0 deletions

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

2
.hadolint.yaml Normal file

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