-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support pivoting on OS platform and Architecture for image selection #91
Comments
I assume this is still not supported with the release of dotnet 7 today? |
@bgiromini correct--the 0.2 version of the package is still |
I tried to use debian.11 as OS - which is still Linux - but didn't work. Would be nice to see at least support for all Linux-like OSs in very near future - because we have packages in our project which have nothing in runtimes/linux-x64, but e.g. runtimes/debian.11-x64 |
I was hoping it would work to publish arm images like this
Is it correct that this issue will address publishing linux-arm64? |
Yep, exactly - right now when you publish, if the image you choose (let's take mcr.microsoft.com/dotnet/aspnet:7.0 as our example) is a 'manifest list' (meaning it supports multiple architectures), we don't understand that and instead we end up picking the 'first' image in the manifest list. This is usually a linux-x64 image. You as a user could explicitly pick an arm64 version of this image right now via setting the |
If I understood correctly I should be able to create arm64 images by explicitly specifying the ContainerBaseImage. I cannot get it to work so here is what I am doing ...
I get the following error message If I specify "--arch x64" it produces an image but it does not properly run on my arm computer. Do I need to wait for a fix, or am I doing it wrong? |
Thanks for the clarification and prompt response. I will stick to docker files for a little longer... |
We're currently planning to freeze the RID graph and make RIDs no longer distro-specific. As a result, we're not going to go to full detail in this project to support e.g. |
Fixed in #247, out now in version 0.3.2 of the package! |
Right now we explicitly support Linux/x64 container images - we should instead take into account the OS and Architecture the user provides and pick the correct 'base image' from the manifest list (if there is one on the base image).
We'll need to investigate what level of impact this has on picking the correct base image, but this will also have an impact on
Overlaps with #117
The text was updated successfully, but these errors were encountered: