-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.hadolint.yaml
More file actions
36 lines (31 loc) · 988 Bytes
/
.hadolint.yaml
File metadata and controls
36 lines (31 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# =============================================================================
# Hadolint Configuration - Dockerfile Linter
# =============================================================================
#
# Documentation: https://github.com/hadolint/hadolint
#
# Severity levels: error, warning, info, style
# =============================================================================
# Fail on these severity levels
failure-threshold: warning
# Trusted registries for DL3026 (use COPY instead of ADD for URLs)
trustedRegistries:
- docker.io
- quay.io
- ghcr.io
- mcr.microsoft.com
# Ignored rules
ignored:
# DL3018: Pin versions in apk add (MinIO base image handles this)
- DL3018
# DL3008: Pin versions in apt-get install
- DL3008
# Rule-specific overrides
override:
warning:
# Treat these as warnings instead of errors
- DL3025 # Use JSON notation for CMD
# Labels to require
label-schema:
maintainer: text
org.opencontainers.image.source: url