Commit ba5d0b8
authored
Update hadolint configuration (#1142)
The `hadolint` warning DL3009 is only relevant when optimizing a docker
container's size. It's not needed for security or other reasons. Not
only is this rule annoying; following the rule can also increase docker
image build times. The benefit does not seem to outweight the drawbacks,
so I added it to the list of ignored rules.
Conversely, DL3047 (about the syntax of CMD statements) is probably
better to keep, as a matter of modern practices surrounding Dockerfiles.1 parent 9f3a2ee commit ba5d0b8
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
0 commit comments