Skip to content

Commit cff1ee6

Browse files
committed
hadolint: add some more warnings and errors to ignore list
Also annonated them in form of YAML comments for documentation, Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
1 parent d95edcc commit cff1ee6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.hadolint.yaml

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
ignored:
2-
- DL3007
3-
- DL3016
4-
- DL3028
5-
- SC2086
6-
- SC2039
7-
- DL3059
2+
- DL3007 # Ignore warnings about using the latest tag as base image.
3+
- DL3016 # Pin npm package versions
4+
- DL3028 # Pin RubyGems versions
5+
- SC2086 # Prevent globbing and word spliting by using double-quotes
6+
- SC2039 # in POSIX sh, <something> is undefined
7+
- DL3059 # Consider consolidating multiple RUNs
8+
- DL3013 # Pin Python package versions in pip
9+
- DL4001 # Use either only wget or curl but not both
10+
- DL3004 # Don't use sudo, use gosu instead
11+
- SC2016 # Absolute WORKDIR
12+
- DL3003 # Use WORKDIR to switch dirs

0 commit comments

Comments
 (0)