You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Alpine Linux (inadvertently to conform with libc for embedded systems) #4210
musl (for Alpine), μClibc (for Alpine and Lilblue) and Newlib (for AmigaOS, Cygwin and PlayStation Portable) are standard C library implementations for embedded systems, which don't include Memory Management Unit (MMU).
If .NET team has plans to target microcontrollers/embedded-systems with coreclr, please provide support for those platforms.
Reacted by Gabriel Sadaka, Erik Schierboom, Giorgi Kardava, Hiroaki Matoba(toba@f), Wojtek, mahald, Johnny Santos, Robert Silvie II, Aaron Stainback and ૮༼⚆︿⚆༽つ
Reacted by Mark Tiedemann, mahald, Johnny Santos, Aaron Stainback and ૮༼⚆︿⚆༽つ
I've been trying to get CoreCLR to build on Alpine and am stuck trying to compile libunwind. Seems that doesn't play nice with musl, specifically it doesn't have execinfo.h. Haven't looked much into any workarounds.
This is definitely interesting work. It is important to point out to those who may be following from the NETMF realms that this is NOT NETMF, but rather a port of CoreCLR to this platform. The discussion here is available due to common interests and a bit of high level overlap (embedded and .NET)
Folks can ammend the RID graph in their own package to try things out; any package with a runtime.json will get merged into the graph. We shouldn't be defining a RID compatibility relationship in the central MS.NETCore.Platforms until we have a chance to assess the compatibility of the distro with others/versions. That's ok to do in prerelease so long as we test it out and vet it before shipping stable.
@kasper3 right, I am sorry for not tracking the work in an easily discoverable way. I have just created dotnet/core#1076 to fix that. Please let me know if you'd like to see more detail added there.
Reacted by Johnny Santos, Mani Gandham, Kristopher Betz, Shahid Khan, Gabriel Sadaka and Markus Schaber
changed the title [-]Support AmigaOS, Alpine Linux and Lilblue Linux (inadvertently to conform with libc for embedded systems)[/-][+]Support Alpine Linux (inadvertently to conform with libc for embedded systems)[/+]on Jun 30, 2018
Activity
ghuntley commentedon May 4, 2015
coreclr on embeded? This will be an interesting discussion to follow.
@jasonwilliams200OK are you aware of the .NET micro-framework - http://www.netmf.com/gadgeteer/ which is open source and available on GitHub @ http://netmf.github.io/
helloitszak commentedon May 15, 2015
I've been trying to get CoreCLR to build on Alpine and am stuck trying to compile libunwind. Seems that doesn't play nice with musl, specifically it doesn't have
execinfo.h. Haven't looked much into any workarounds.My goal is to eventually see if I can get ASP.NET vNext running on here, as Alpine is great for super lightweight Docker images (https://github.com/gliderlabs/docker-alpine)
luisrudge commentedon May 15, 2015
Running on alpine would be awesome, since the docker image is very tiny!
smaillet-ms commentedon Jun 13, 2016
This is definitely interesting work. It is important to point out to those who may be following from the NETMF realms that this is NOT NETMF, but rather a port of CoreCLR to this platform. The discussion here is available due to common interests and a bit of high level overlap (embedded and .NET)
benpye commentedon Jun 19, 2016
👍 for getting this working!
jkotas commentedon Jun 28, 2016
@jasonwilliams200OK v1.0-RTM is out the door. It would be for the update that comes next.
@joshfree @Petermarcu How can we get started on adding Alpine Linux to the list of the officially supported distros?
Petermarcu commentedon Jun 30, 2016
Is the key blocker right now the RID for Alpine?
Petermarcu commentedon Jun 30, 2016
In other words, an entry here... https://github.com/dotnet/corefx/blob/master/pkg/Microsoft.NETCore.Platforms/runtime.json
@jasonwilliams200OK you said please unblock you on core-setup. Is the RID issue whats blocking you?
ericstj commentedon Jun 30, 2016
Folks can ammend the RID graph in their own package to try things out; any package with a runtime.json will get merged into the graph. We shouldn't be defining a RID compatibility relationship in the central MS.NETCore.Platforms until we have a chance to assess the compatibility of the distro with others/versions. That's ok to do in prerelease so long as we test it out and vet it before shipping stable.
223 remaining items
murbanowicz commentedon Nov 3, 2017
@Petermarcu @janvorli when you will success with builds for Alpine, will they be available as tags within main docker image for .net core?
MichaelSimons commentedon Nov 3, 2017
@murbanowicz - yes the plan is to create Apline based Docker images for .NET Core. dotnet/dotnet-docker#22 tracks this work.
Petermarcu commentedon Nov 3, 2017
@MichaelSimons I think we have a build you can pull into a container now.
MaximRouiller commentedon Nov 6, 2017
AWESOME!
janvorli commentedon Nov 14, 2017
@kasper3 right, I am sorry for not tracking the work in an easily discoverable way. I have just created dotnet/core#1076 to fix that. Please let me know if you'd like to see more detail added there.
MaximRouiller commentedon Nov 21, 2017
Linking announcement here:
dotnet/announcements#49
[-]Support AmigaOS, Alpine Linux and Lilblue Linux (inadvertently to conform with libc for embedded systems)[/-][+]Support Alpine Linux (inadvertently to conform with libc for embedded systems)[/+]jkotas commentedon Jun 30, 2018
Agree. Thanks