Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.11.4 cherry picks #3673

Merged
merged 3 commits into from
Feb 28, 2023
Merged

v0.11.4 cherry picks #3673

merged 3 commits into from
Feb 28, 2023

Conversation

tonistiigi
Copy link
Member

```
newDesc.Annotations = nil
for _, k := range addAnnotations {
  newDesc.Annotations[k] = desc.Annotations[k]
}
```

The codes may cause buildkitd panic: assignment to entry in nil map

Signed-off-by: Yan Song <imeoer@linux.alibaba.com>
(cherry picked from commit 39bd8c6)
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
(cherry picked from commit 2e6d0bf)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Chown will result file capabilities getting reset, so it should be done
before setting xattrs to ensure they are retained.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
(cherry picked from commit 0a36f1a)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@crazy-max crazy-max merged commit 2590f95 into moby:v0.11 Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants