Skip to content

Commit be9831f

Browse files
authored
NO-JIRA: chore(ci): add SC3041 and SC3020 to hadolint ignore list (#2784)
These warnings are suppressed because: * Bash is available in RHEL base images * The codebase uses bash-specific features This avoids modifying multiple Dockerfiles Hadolint will no longer report these warnings for the RStudio Dockerfiles. The warnings were about POSIX sh compatibility, but since bash is guaranteed in these images, suppressing them is acceptable.
1 parent ac7d523 commit be9831f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/hadolint-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ ignored:
2828
- DL3007
2929
# SC3060 warning: In POSIX sh, string replacement is undefined.
3030
- SC3060
31+
# SC3041 warning: In POSIX sh, set flag -E is undefined. (bash-specific ERR trap)
32+
- SC3041
33+
# SC3020 warning: In POSIX sh, &> is undefined. (bash-specific redirect operator)
34+
- SC3020
3135
# SC2086 info: Double quote to prevent globbing and word splitting.
3236
- SC2086
3337
# SC2046 warning: Quote this to prevent word splitting.

0 commit comments

Comments
 (0)