Error AtlasError Documentation and Resolution

Docker build found inconsistent instruction casing in the Dockerfile

ConsistentInstructionCasing

Docker build checks found a mix of uppercase and lowercase Dockerfile instructions, which reduces consistency and may fail linting policies.

ConsistentInstructionCasingbuild errors
ConsistentInstructionCasing
  • Some Dockerfile instructions are uppercase while others are lowercase.
  • Sections of the Dockerfile were copied from different style conventions.
  • Linting or build-check enforcement is enabled for Dockerfile consistency.
  1. Choose a single instruction-casing style and apply it consistently.
  2. Normalize all Dockerfile instructions during the next cleanup pass.
  3. Run the build check again after reformatting to confirm the issue is resolved.
Docker Docs: Build checks
Docker ConsistentInstructionCasing build check: causes and fixes | Error Atlas