FROM, ARG or comment.
| Property | Value |
|---|---|
| Severity | Error |
| Category | Correctness |
| Default | Enabled |
Description
A Dockerfile must begin with aFROM instruction, an ARG instruction, or a comment. Any other instruction before FROM will cause a build error.