Skip to content

Support Alpine Linux (inadvertently to conform with libc for embedded systems) #4210

Closed

Description

@ghost

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.

Note that static lib libnix is also available for AmigaOS: http://cahirwpz.users.sourceforge.net/libnix/Description.html#Description (or https://github.com/cahirwpz/m68k-amigaos-toolchain)

Here is a list of major C standard libraries implementations: http://en.wikipedia.org/wiki/C_standard_library#Implementations

Activity

  1. ghuntley commented on May 4, 2015

    @ghuntley
    Member
  2. helloitszak commented on May 15, 2015

    @helloitszak

    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)

  3. luisrudge commented on May 15, 2015

    @luisrudge

    Running on alpine would be awesome, since the docker image is very tiny!

  4. smaillet-ms commented on Jun 13, 2016

    @smaillet-ms

    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)

  5. benpye commented on Jun 19, 2016

    @benpye
    Contributor

    👍 for getting this working!

  6. jkotas commented on Jun 28, 2016

    @jkotas
    Member

    @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?

  7. Petermarcu commented on Jun 30, 2016

    @Petermarcu
    Member

    Is the key blocker right now the RID for Alpine?

  8. Petermarcu commented on Jun 30, 2016

    @Petermarcu
    Member

    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?

  9. ericstj commented on Jun 30, 2016

    @ericstj
    Member

    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.

  10. 223 remaining items

  11. murbanowicz commented on Nov 3, 2017

    @murbanowicz

    @Petermarcu @janvorli when you will success with builds for Alpine, will they be available as tags within main docker image for .net core?

  12. MichaelSimons commented on Nov 3, 2017

    @MichaelSimons
    Member

    @murbanowicz - yes the plan is to create Apline based Docker images for .NET Core. dotnet/dotnet-docker#22 tracks this work.

  13. Petermarcu commented on Nov 3, 2017

    @Petermarcu
    Member

    @MichaelSimons I think we have a build you can pull into a container now.

  14. MaximRouiller commented on Nov 6, 2017

    @MaximRouiller

    It's happening!

    AWESOME!

  15. janvorli commented on Nov 14, 2017

    @janvorli
    Member

    @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.

  16. MaximRouiller commented on Nov 21, 2017

    @MaximRouiller

    Linking announcement here:

    dotnet/announcements#49

  17. 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
  18. jkotas commented on Jun 30, 2018

    @jkotas
    Member

    Agree. Thanks

  19. transferred this issue fromdotnet/coreclron Jan 30, 2020
  20. added this to the Future milestone on Jan 30, 2020
  21. ghost locked as resolved and limited conversation to collaborators on Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Infrastructure-coreclrport

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions