reviewdog [hadolint] report
reported by reviewdog 🐶
Findings (5)
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
Filtered Findings (0)
Annotations
Check notice on line 3 in testdata/Dockerfile
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
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
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
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
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"}