Docker Build
Docker build found duplicate stage names in the Dockerfile
Docker build checks found more than one stage using the same stage name, which makes the Dockerfile ambiguous and harder to build correctly.
Docker Build
Docker build checks found more than one stage using the same stage name, which makes the Dockerfile ambiguous and harder to build correctly.
Observed message
DuplicateStageName
Why it happens
How to fix it
Official reference
Docker Docs: Build checksRelated errors
Explore more