I tried to find this information in the official Docker docs, but was not successful.
What parts of the Docker data do you consider when calculating the hash of each commit / level?
It's pretty obvious that the line in the Dockerfile is part of the hash and, of course, the parent hash is the token. But what else needs to be considered when calculating this hash?
Specific use case. Suppose I have two developers on different machines at different points in time (and because of this, different $ docker build ... daemons and different caches) working under $ docker build ... against the same Docker file. The FROM ... directive FROM ... will give them the same starting point, but will the hash result of each operation work on the same hash? Is it deterministic?
source share