-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
area/builderBuildBuildarea/builder/buildkitBuildBuildkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/23.0
Milestone
Description
Description
Issue was reported in docker slack involving missing filecaps after using COPY --link:
While the specific issue was fixed in moby/buildkit#3671 , the reason it appeared in Moby and not in regular buildkit is that there seems to be an issue with the way images are created from the merge/diff references. While the correct behavior is to export the original individual layers, Moby exports the merge base snapshot. This isn't correct and doesn't have the cache semantics that merge/diff is supposed to promise. I think it may also cause failed cache imports when using --cache-from with such images.
Reproduce
Use COPY --link with 23.0
Expected behavior
No response
docker version
-docker info
-Additional Info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/builderBuildBuildarea/builder/buildkitBuildBuildkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/23.0




