Prototype for multi-arch manifest #1585
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
This PR is a proposal to fix #1401.
It has two main points described below.
1. Make the manifest tool able to handle different os/architectures
I've made a first beta prototype to make it work on different architecture--there is still a lot of work to do. So the following call will generate a manifest from the image
docker pull --platform linux/arm64 jupyter/base-notebook:b020a0cf3b96
TODO (at least):
2. Create the manifest after the push to the registry
By creating the manifest after the push to the registry we would be able to access easily (without having to export them) the images of the various architectures.
I guess we will benefit from the
buildx
cache (or at least I'm pretty sure it's possible to do so) so the pull should not be a penalty.@consideRatio and @mathbunnyru what do you think about this solution?
Once again is only a early prototype only modified to illustrate the proposal.
Thanks.