-
Notifications
You must be signed in to change notification settings - Fork 97
/
.hadolint.yaml
22 lines (22 loc) · 1014 Bytes
/
.hadolint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# We use "override" instead of "ignore" to still see these issues.
# With the "failure-threshold" set to "warning" below, these should not make
# the test fail.
override:
info:
# warning: Specify version with `zypper install -y <package>=<version>`.
- DL3037
# warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
- DL3018
# warning: Specify version with `dnf install -y <package>-<version>`.
- DL3041
# warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
- DL3008
# warning: Always tag the version of an image explicitly
# Reason: We build "latest" images using "latest" base images.
- DL3006
# warning: Use WORKDIR to switch to a directory
# Reason: Sometimes we don't want to change the workdir
- DL3003
# Do not use --platform= with FROM. https://github.com/hadolint/hadolint/wiki/DL3029
- DL3029
failure-threshold: warning