Merge pull request #31 from reviewdog/depup/reviewdog #46
reviewdog [hadolint] report
reported by reviewdog 🐶
Findings (5)
Dockerfile|8 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
Dockerfile|12 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
Dockerfile|12 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
Dockerfile|15 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
Dockerfile|15 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
Filtered Findings (0)
Annotations
Check warning on line 8 in Dockerfile
github-actions / hadolint
[hadolint] Dockerfile#L8 <DL3018>(https://github.com/hadolint/hadolint/wiki/DL3018)
Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Raw output
message:"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`" location:{path:"Dockerfile" range:{start:{line:8 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3018" url:"https://github.com/hadolint/hadolint/wiki/DL3018"}
Check notice on line 12 in Dockerfile
github-actions / hadolint
[hadolint] Dockerfile#L12 <DL3019>(https://github.com/hadolint/hadolint/wiki/DL3019)
Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Raw output
message:"Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages" location:{path:"Dockerfile" range:{start:{line:12 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3019" url:"https://github.com/hadolint/hadolint/wiki/DL3019"}
Check warning on line 12 in Dockerfile
github-actions / hadolint
[hadolint] Dockerfile#L12 <DL3018>(https://github.com/hadolint/hadolint/wiki/DL3018)
Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Raw output
message:"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`" location:{path:"Dockerfile" range:{start:{line:12 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3018" url:"https://github.com/hadolint/hadolint/wiki/DL3018"}
Check warning on line 15 in Dockerfile
github-actions / hadolint
[hadolint] Dockerfile#L15 <DL3013>(https://github.com/hadolint/hadolint/wiki/DL3013)
Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`
Raw output
message:"Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`" location:{path:"Dockerfile" range:{start:{line:15 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3013" url:"https://github.com/hadolint/hadolint/wiki/DL3013"}
Check warning on line 15 in Dockerfile
github-actions / hadolint
[hadolint] Dockerfile#L15 <DL3042>(https://github.com/hadolint/hadolint/wiki/DL3042)
Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
Raw output
message:"Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`" location:{path:"Dockerfile" range:{start:{line:15 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3042" url:"https://github.com/hadolint/hadolint/wiki/DL3042"}