Skip to content

Add support for linux-musl-arm64 #1688

@rpendleton

Description

@rpendleton

Is your feature request related to a problem? Please describe

For cost savings, I tend to use arm64 on AWS for both EC2 and Lambda. With Lambda especially, I also prefer to use smaller base containers, such as Alpine Linux, which tend to use musl instead of glibc.

It appears that this package supports Linux on the following runtimes:

  • linux-x64
  • linux-arm64
  • linux-musl-x64

However, notably, support for linux-musl-arm64 is missing. This means I can't use this package with Alpine containers on arm64 execution environments.

Describe the solution you'd like

I'd like this package to support linux-musl-arm64. I imagine this would involve updating build scripts and creating new packages specifically for linux-musl-arm64, as well as adding those libraries to the AnyCPU versions. I'm not sure how much additional work would be required since arm64 and musl are already supported separately though.

Describe alternatives you've considered

The only alternative I'm aware of is to either switch back to x64 hosts, or to switch from Alpine Linux to something more standard such as Debian. The first option results in increased costs on AWS due to more expensive instances or Lambda pricing, and the second option results in slower cold starts on AWS Lambda due to larger layer sizes.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions