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

imagetools: fix merging JSON descriptor with old one #592

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Apr 9, 2021

closes #562 #563

Fixes the case where remote descriptor would overwrite the local one parsed from the JSON and override custom annotations/platform info. Add docs for this case.

@thaJeztah @crazy-max @sjackman

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AkihiroSuda AkihiroSuda merged commit 8d64b64 into docker:master Apr 15, 2021
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.

docker buildx imagetools create -f source-descriptor.json: unexpected end of JSON input
3 participants