uber-archive / makisu

Fast and flexible Docker image building tool, works in unprivileged containerized environments like Mesos and Kubernetes.
Apache License 2.0
2.41k stars 154 forks source link

Fixed checksumming when context dir changes #236

Closed apourchet closed 5 years ago

apourchet commented 5 years ago

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.