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

Is linux-arm64 on the roadmap #281

Closed
stefc opened this issue Jan 7, 2023 · 2 comments
Closed

Is linux-arm64 on the roadmap #281

stefc opened this issue Jan 7, 2023 · 2 comments

Comments

@stefc
Copy link

stefc commented Jan 7, 2023

error CONTAINER006: The Microsoft.NET.Build.Containers package does not (yet) support publishing for linux-arm6

I want to build a container running on a Kubernetes ARM cluster potentially.

Is this on the roadmap

@baronfel
Copy link
Member

baronfel commented Jan 7, 2023

Yes, we have an open PR that brings support for other runtime identifiers: #247

We hope to have it merged soon.

@baronfel
Copy link
Member

baronfel commented Jan 20, 2023

This has now been released in version 0.3.2! Please update and check it out.

The overall flow is that we use the RID you build for to help us pick the base image, if you use a base image that supports multiple architectures. For example, mcr.microsoft.com/dotnet/runtime:7.0 would allow you to use linux-x64, linux-arm, linux-arm64, and win-x64 to successfully target different variations of the same logical image. You can always sidestep this automatic decision by explicitly specifying your own ContainerBaseImage, for example mcr.microsoft.com/dotnet/aspnet:7.0-jammy-amd64 would specify the linux-x64 ubuntu aspnet image, with no other logic done by the tooling.

If you specify a RID that isn't compatible with the image you've chosen, we'll give an error listing out the RIDs that are compatible.

Once caveat to this is that if you'd like to use a musl-based or alpine image, you have to be aware of some caveats. I've gone into more detail in this issue.

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

No branches or pull requests

2 participants