Error AtlasError Documentation and Resolution

Docker build found stage names that are not lowercase

StageNameCasing

Docker build checks found Dockerfile stage aliases that are not lowercase, which violates the build rule for stage naming consistency.

StageNameCasingbuild errors
StageNameCasing
  • A Dockerfile stage alias contains uppercase letters.
  • Build stages were named inconsistently across a multi-stage Dockerfile.
  • A copied example kept stage aliases that do not match the current style rules.
  1. Rename stage aliases to lowercase values.
  2. Update all COPY --from references to use the new lowercase stage names.
  3. Keep future stage aliases consistently lowercase across the Dockerfile.
Docker Docs: Build checks
Docker StageNameCasing build check: causes and fixes | Error Atlas