Right now, if the context is mounted at /X/context vs /Y/context, the cache IDs of ADD/COPY steps will change from 1 build to the other.
The cache ID of the ADD/COPY step should only depend on the contents of the files being added from the context, as well as the path of that file relative to the context directory.
Right now, if the context is mounted at
/X/context
vs/Y/context
, the cache IDs of ADD/COPY steps will change from 1 build to the other. The cache ID of the ADD/COPY step should only depend on the contents of the files being added from the context, as well as the path of that file relative to the context directory.