DockerDigest getting same SHA value for images build different agents?

Requirement =>
We have 2 build agents which is same configuration and we are using azure repository to store our dockerfile and content. When we build the image using that dockerfile on different build agents we are getting different SHA value.

Help Required =>
Is there any way to get same SHA value when we build docker image from same content and dockerfile on different build agents

as per my knowledge its impossible to get same SHA.

  1. Is there way to generate Docker digests with the same SHA , by altering the manifest
  2. If this is not possible , is there document which clearly says its not possible and which confirms is this not best industrial practice for generating docker image for multiple environments.