dlemstra / dlemstra/Magick.NET

Add support for linux-musl-arm64

Open
#1,688 1 comment 5 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C#
Stars
4k
Forks
451
Avg merge
11h 55m
Merged PRs (30d)
3

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.