Stage names in multi-stage builds should be lowercase.Documentation Index
Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Severity | Warning |
| Category | Style |
| Default | Enabled |
| Auto-fix | Yes (--fix) |
Description
Stage name should be lowercase. To help distinguish Dockerfile instruction keywords from identifiers, this rule forces names of stages in a multi-stage Dockerfile to be all lowercase.Examples
Bad:Auto-fix
The fix renames the stage to lowercase and updates all references (FROM,
COPY --from).