Skip to content

exporter/containerimage: support platform-suffixed config keys#6544

Open
VedantMadane wants to merge 1 commit intomoby:masterfrom
VedantMadane:fix/platform-suffixed-config
Open

exporter/containerimage: support platform-suffixed config keys#6544
VedantMadane wants to merge 1 commit intomoby:masterfrom
VedantMadane:fix/platform-suffixed-config

Conversation

@VedantMadane
Copy link

This PR allows ParsePlatforms to correctly identify platform-suffixed configuration keys (e.g., containerimage.config/linux/arm64) if the base key is missing. This is necessary when using FROM --platform in a Dockerfile without an explicit --platform build flag. Fixes moby/moby#52050

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
@VedantMadane VedantMadane force-pushed the fix/platform-suffixed-config branch from fb8cbfb to cd6dbbf Compare February 28, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker v29: FROM --platform ends up with wrong platform in manifest

1 participant