dotnet/dotnet-docker

Add arm32v7 2.1-aspnetcore-runtime image

natemcmaster opened this issue · 8 comments

I recently created a linux-arm version of the aspnetcore shared runtime. I would like to add a linux-arm image containing this runtime, similar to the bionic/arm32v7 image we have for just the netcore runtime.

@natemcmaster
Thanks.
Would there be significant challenges doing this for arm64v8?

At the moment, we don't have an arm64v8 build of ASP.NET Core. The challenges are mostly about resources and timing, and arm64 is not a high priority for the aspnet team.

Ok.
Would it be worthwhile for me to try to do something like this to create a custom image
Get the blob from here
https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-latest-linux-arm64.tar.gz
https://github.com/dotnet/core-setup
It looks like master has a build for Net Core for arm64v8
And put all the aspnetcore inside along with the app?

Thanks in advance.

You might get something that partly works, but it will be problematic for anything that calls native code, such as Kestrel which uses libuv. To make that work, we need to re-compile everything in aspnetcore's dependency graph for arm64, which we are not planning to do, at the moment.

I won't have time to get to this done for RC1.

cc @muratg

such as Kestrel which uses libuv

When I was running linux-arm64 ASP.NET Core TechEmpower benchmarks last year. The native aarch64/arm64 LibUV.so was present in the packages

Should be resolved in 2.1.300-rc1 with #506. #507

Thanks again @sdmaclea!

Correction, this was in PR #507