Sync branches #742
review.yml
on: pull_request
Prepare Review Jobs
5s
Annotations
3 errors and 10 warnings
hadolint:
Dockerfile.glibc.centos7#L23
[hadolint] reported by reviewdog 🐶
unexpected 's'
expecting '#', '\', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input
Raw Output:
message:"unexpected 's'\nexpecting '#', '\\', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input" location:{path:"Dockerfile.glibc.centos7" range:{start:{line:23 column:1}}} severity:ERROR source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL1000" url:"https://github.com/hadolint/hadolint/wiki/DL1000"}
|
hadolint
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
hadolint
Process completed with exit code 1.
|
hadolint:
Dockerfile.glibc.centos8#L26
[hadolint] reported by reviewdog 🐶
Expressions don't expand in single quotes, use double quotes for that.
Raw Output:
message:"Expressions don't expand in single quotes, use double quotes for that." location:{path:"Dockerfile.glibc.centos8" range:{start:{line:26 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"SC2016" url:"https://github.com/koalaman/shellcheck/wiki/SC2016"}
|
hadolint:
Dockerfile.glibc.centos8#L30
[hadolint] reported by reviewdog 🐶
Use WORKDIR to switch to a directory
Raw Output:
message:"Use WORKDIR to switch to a directory" location:{path:"Dockerfile.glibc.centos8" range:{start:{line:30 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3003" url:"https://github.com/hadolint/hadolint/wiki/DL3003"}
|
hadolint:
Dockerfile.glibc.centos8#L34
[hadolint] reported by reviewdog 🐶
Use WORKDIR to switch to a directory
Raw Output:
message:"Use WORKDIR to switch to a directory" location:{path:"Dockerfile.glibc.centos8" range:{start:{line:34 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3003" url:"https://github.com/hadolint/hadolint/wiki/DL3003"}
|
hadolint:
Dockerfile.glibc.centos9#L26
[hadolint] reported by reviewdog 🐶
Expressions don't expand in single quotes, use double quotes for that.
Raw Output:
message:"Expressions don't expand in single quotes, use double quotes for that." location:{path:"Dockerfile.glibc.centos9" range:{start:{line:26 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"SC2016" url:"https://github.com/koalaman/shellcheck/wiki/SC2016"}
|
hadolint:
Dockerfile.glibc.generic#L12
[hadolint] reported by reviewdog 🐶
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:"Dockerfile.glibc.generic" range:{start:{line:12 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
|
hadolint:
Dockerfile.glibc.generic#L12
[hadolint] reported by reviewdog 🐶
Avoid additional packages by specifying `--no-install-recommends`
Raw Output:
message:"Avoid additional packages by specifying `--no-install-recommends`" location:{path:"Dockerfile.glibc.generic" range:{start:{line:12 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3015" url:"https://github.com/hadolint/hadolint/wiki/DL3015"}
|
hadolint:
Dockerfile.glibc.generic#L12
[hadolint] reported by reviewdog 🐶
Delete the apt-get lists after installing something
Raw Output:
message:"Delete the apt-get lists after installing something" location:{path:"Dockerfile.glibc.generic" range:{start:{line:12 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3009" url:"https://github.com/hadolint/hadolint/wiki/DL3009"}
|
hadolint:
Dockerfile.glibc.generic#L17
[hadolint] reported by reviewdog 🐶
Use WORKDIR to switch to a directory
Raw Output:
message:"Use WORKDIR to switch to a directory" location:{path:"Dockerfile.glibc.generic" range:{start:{line:17 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3003" url:"https://github.com/hadolint/hadolint/wiki/DL3003"}
|
hadolint:
Dockerfile.glibc.generic#L17
[hadolint] reported by reviewdog 🐶
Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Raw Output:
message:"Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check" location:{path:"Dockerfile.glibc.generic" range:{start:{line:17 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL4006" url:"https://github.com/hadolint/hadolint/wiki/DL4006"}
|
hadolint:
Dockerfile.glibc.generic#L17
[hadolint] reported by reviewdog 🐶
Quote this to prevent word splitting.
Raw Output:
message:"Quote this to prevent word splitting." location:{path:"Dockerfile.glibc.generic" range:{start:{line:17 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"SC2046" url:"https://github.com/koalaman/shellcheck/wiki/SC2046"}
|