Skip to content

chore(deps): update reviewdog to 0.17.0 (#90) #82

chore(deps): update reviewdog to 0.17.0 (#90)

chore(deps): update reviewdog to 0.17.0 (#90) #82

GitHub Actions / hadolint completed Jan 23, 2024 in 1s

reviewdog [hadolint] report

reported by reviewdog 🐶

Findings (8)

testdata/Dockerfile|1 col 1| Always tag the version of an image explicitly
testdata/Dockerfile|3 col 1| Avoid additional packages by specifying --no-install-recommends
testdata/Dockerfile|3 col 1| Pin versions in apt get install. Instead of apt-get install <package> use apt-get install <package>=<version>
testdata/Dockerfile|5 col 1| Multiple consecutive RUN instructions. Consider consolidation.
testdata/Dockerfile|5 col 1| Remove space after = if trying to assign a value (for empty string, use var='' ... ).
testdata/Dockerfile|6 col 1| Use WORKDIR to switch to a directory
testdata/sub-dir/Dockerfile|1 col 1| Always tag the version of an image explicitly
testdata/sub-dir/Dockerfile|3 col 1| Use WORKDIR to switch to a directory

Filtered Findings (0)

Annotations

Check warning on line 1 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L1 <DL3006>(https://github.com/hadolint/hadolint/wiki/DL3006)

Always tag the version of an image explicitly
Raw output
message:"Always tag the version of an image explicitly"  location:{path:"testdata/Dockerfile"  range:{start:{line:1  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3006"  url:"https://github.com/hadolint/hadolint/wiki/DL3006"}

Check notice on line 3 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L3 <DL3015>(https://github.com/hadolint/hadolint/wiki/DL3015)

Avoid additional packages by specifying `--no-install-recommends`
Raw output
message:"Avoid additional packages by specifying `--no-install-recommends`"  location:{path:"testdata/Dockerfile"  range:{start:{line:3  column:1}}}  severity:INFO  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3015"  url:"https://github.com/hadolint/hadolint/wiki/DL3015"}

Check warning on line 3 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L3 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`"  location:{path:"testdata/Dockerfile"  range:{start:{line:3  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3008"  url:"https://github.com/hadolint/hadolint/wiki/DL3008"}

Check notice on line 5 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L5 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation."  location:{path:"testdata/Dockerfile"  range:{start:{line:5  column:1}}}  severity:INFO  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3059"  url:"https://github.com/hadolint/hadolint/wiki/DL3059"}

Check warning on line 5 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L5 <SC1007>(https://github.com/koalaman/shellcheck/wiki/SC1007)

Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Raw output
message:"Remove space after = if trying to assign a value (for empty string, use var='' ... )."  location:{path:"testdata/Dockerfile"  range:{start:{line:5  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"SC1007"  url:"https://github.com/koalaman/shellcheck/wiki/SC1007"}

Check warning on line 6 in testdata/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/Dockerfile#L6 <DL3003>(https://github.com/hadolint/hadolint/wiki/DL3003)

Use WORKDIR to switch to a directory
Raw output
message:"Use WORKDIR to switch to a directory"  location:{path:"testdata/Dockerfile"  range:{start:{line:6  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3003"  url:"https://github.com/hadolint/hadolint/wiki/DL3003"}

Check warning on line 1 in testdata/sub-dir/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/sub-dir/Dockerfile#L1 <DL3006>(https://github.com/hadolint/hadolint/wiki/DL3006)

Always tag the version of an image explicitly
Raw output
message:"Always tag the version of an image explicitly"  location:{path:"testdata/sub-dir/Dockerfile"  range:{start:{line:1  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3006"  url:"https://github.com/hadolint/hadolint/wiki/DL3006"}

Check warning on line 3 in testdata/sub-dir/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] testdata/sub-dir/Dockerfile#L3 <DL3003>(https://github.com/hadolint/hadolint/wiki/DL3003)

Use WORKDIR to switch to a directory
Raw output
message:"Use WORKDIR to switch to a directory"  location:{path:"testdata/sub-dir/Dockerfile"  range:{start:{line:3  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3003"  url:"https://github.com/hadolint/hadolint/wiki/DL3003"}