Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions internal/rules/hadolint-rules.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"code": "DL1001",
"description": "Please refrain from using inline ignore pragmas `# hadolint ignore=DLxxxx`.",
"description": "Please refrain from using inline ignore pragmas # hadolint ignore=DLxxxx",
"wiki_url": "https://github.com/hadolint/hadolint/wiki/DL1001",
"severity": "Ignore"
},
Expand Down Expand Up @@ -349,7 +349,7 @@
},
{
"code": "DL3061",
"description": "Invalid instruction order. Dockerfile must begin with `FROM`, `ARG` or comment.",
"description": "Invalid instruction order. Dockerfile must begin with FROM, ARG or comment.",
"wiki_url": "https://github.com/hadolint/hadolint/wiki/DL3061",
"severity": "Error"
},
Expand All @@ -361,13 +361,19 @@
},
{
"code": "DL3063",
"description": "stage name should not be a reserved word",
"description": "Stage name should not be a reserved word",
"wiki_url": "https://github.com/hadolint/hadolint/wiki/DL3063",
"severity": "Warning"
},
{
"code": "DL3064",
"description": "Potentially sensitive data should not be used in the ARG or ENV commands",
"wiki_url": "https://github.com/hadolint/hadolint/wiki/DL3064",
"severity": "Warning"
},
{
"code": "DL3065",
"description": "Setting `FROM --platform` to predefined `$TARGETPLATFORM` in is redundant as this is the default behavior",
"description": "Setting FROM --platform to predefined $TARGETPLATFORM in is redundant as this is the default behavior",
"wiki_url": "https://github.com/hadolint/hadolint/wiki/DL3065",
"severity": "Warning"
},
Expand Down