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: backport llbsolver: fix policy rule ordering #4215

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Sep 7, 2023

Backports #4014 to v0.11 so we can pull this into moby v24.

--

The older of rules in policy matters. Eg. in [DENY *, ALLOW ref] mixing the order would deny all sources so map can't be used to deduplicate the rules.

(cherry picked from commit 22d8446)

The older of rules in policy matters. Eg. in [DENY *, ALLOW ref]
mixing the order would deny all sources so map can't be used
to deduplicate the rules.

Signed-off-by: Tonis Tiigi <[email protected]>
(cherry picked from commit 22d8446)
Signed-off-by: Brian Goff <[email protected]>
@cpuguy83 cpuguy83 changed the title llbsolver: fix policy rule ordering v0.11: backport llbsolver: fix policy rule ordering Sep 7, 2023
@jedevc jedevc merged commit d3e6c13 into moby:v0.11 Sep 8, 2023
38 of 39 checks passed
cpuguy83 added a commit to cpuguy83/docker that referenced this pull request Sep 8, 2023
This brings in moby/buildkit#4215 which fixes a major issue with source
policies in buildkit.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83 cpuguy83 deleted the v0.11_cherry_pick_policy_ordering branch November 3, 2023 18:22
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.

3 participants