Replies: 2 comments
-
I think adding a musl binary to the release assets makes sense 👍 Other rust tools on GitHub offer many types of precompiled linux binaries, so I assume its pretty common to generate a musl version as well. Feel free to open an issue! I currently don't have time to work on this, but others might choose to. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the go ahead! I create a small description of an issue #93 |
Beta Was this translation helpful? Give feedback.
-
I am curious how many other might be using mask on Alpine.
I was trying to include this tool in some in a devcontainer that would support development across different repos, in a sort of tool chain way, by using Microsoft's alpine devcontainers.
In both use cases below I am installing
mask
on an alpine docker image:mcr.microsoft.com/vscode/devcontainers/base:0-alpine-3.15
Sadly using
wget
downloading the linux distribution and installing doesn't really work:$ /usr/local/bin/mask bash: /usr/local/bin/mask: No such file or directory $ file /usr/local/bin/mask /usr/local/bin/mask: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=09866be28414d1e84474b259260649c7388016f3, for GNU/Linux 3.2.0, with debug_info, not stripped
Looks like its using a dynamic linker that isn't supported in Alpine. I guess
musl
is supported however.Interestingly using cargo to install
mask
it picks up themusl
platform just fine:You can see in the interpreter section of the musl is used instead of the linux.
Not sure what it would take to get another binary added on release for
musl
or if its worth the effort but it would save time for use cases where installing cargo on alpine distributions can take a long time.Beta Was this translation helpful? Give feedback.
All reactions