-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.hadolint.yaml
More file actions
23 lines (20 loc) · 982 Bytes
/
Copy path.hadolint.yaml
File metadata and controls
23 lines (20 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# .hadolint.yaml
# Stricter configuration for Hadolint Dockerfile linter
# See https://github.com/hadolint/hadolint#configure
# Do not ignore any rules by default - address or explicitly ignore specific lines in Dockerfile if needed
# ignored:
# - DLxxxx # Example: DL3006 (if absolutely needed with justification)
# Specify trusted registries to avoid warnings about unofficial base images
# Add your company's private registry if applicable
trustedRegistries:
- docker.io
- ghcr.io
# - your-private-registry.com
# Set the failure threshold to 'warning'. Any rule violation reported as 'error' or 'warning'
# will cause Hadolint to exit with a non-zero status code, failing CI checks.
# Options: error | warning | info | style | ignore
failure-threshold: warning
# You can still override per Dockerfile path if necessary, but try to keep base config strict.
# override:
# Dockerfile.dev:
# failure-threshold: info # Be less strict for dev Dockerfiles maybe?