1 frOM busybox as base
Check warning on line 1 in test/lint.Dockerfile
GitHub Actions / checks (latest)
All commands within the Dockerfile should use the same casing (either upper or lower)
ConsistentInstructionCasing: Command 'frOM' should match the case of the command majority (uppercase)
More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
2 copy lint.Dockerfile .
Check warning on line 2 in test/lint.Dockerfile
GitHub Actions / checks (latest)
All commands within the Dockerfile should use the same casing (either upper or lower)
ConsistentInstructionCasing: Command 'copy' should match the case of the command majority (uppercase)
More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
3 +
4 from scratch
Check warning on line 4 in test/lint.Dockerfile
GitHub Actions / checks (latest)
All commands within the Dockerfile should use the same casing (either upper or lower)
ConsistentInstructionCasing: Command 'from' should match the case of the command majority (uppercase)
More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
5 + MAINTAINER moby@example.com
Check warning on line 5 in test/lint.Dockerfile
GitHub Actions / checks (latest)
The MAINTAINER instruction is deprecated, use a label instead to define an image author
MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label
More info: https://docs.docker.com/go/dockerfile/rule/maintainer-deprecated/
6 + COPY --from=base \
Check warning on line 6 in test/lint.Dockerfile
GitHub Actions / checks (latest)
All commands within the Dockerfile should use the same casing (either upper or lower)
ConsistentInstruction Casing: Command 'COPy' should match the case of the command majority (uppercase)
More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/
7 + /lint.Dockerfile \
8 +
9 +
10 + CMD [ "echo", "Hello, Norway!" ]
Check warning on line 10 in test/lint.Dockerfile
GitHub Actions / checks (latest)
Explanation
The image shows the results of a linting process on a Dockerfile. The linter identifies various issues, such as inconsistent casing of commands (e.g., using 'frOM' instead of 'FROM'), deprecated instructions (MAINTAINER), and casing problems of commands. The output includes the line number where the issue occurs, a description of the problem, and a link to more information about the rule.