We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa67839 commit ac05944Copy full SHA for ac05944
.hadolint.yaml
@@ -0,0 +1,3 @@
1
+ignored:
2
+ - DL3008 # Pin versions in apt-get install
3
+ - DL3018 # Pin versions in apk add
.pre-commit-config.yaml
@@ -47,6 +47,15 @@ repos:
47
- id: shellcheck
48
files: \.sh$
49
50
+ # Dockerfile linting with hadolint
51
+ - repo: https://github.com/hadolint/hadolint
52
+ rev: v2.14.0
53
+ hooks:
54
+ - id: hadolint-docker
55
+ types: [file]
56
+ files: (^|/)(Dockerfile|.*\.Dockerfile)$
57
+ args: [--config, .hadolint.yaml]
58
+
59
# Configuration
60
default_stages: [pre-commit]
61
fail_fast: false
0 commit comments