ThorstenHans / devcontainer-features

MIT License
0 stars 0 forks source link

Dynamically linked binary fails when host system is `aarch64` #3

Open ThorstenHans opened 10 months ago

ThorstenHans commented 10 months ago

The spin feature works perfectly on GitHub Codespaces and if the underlying host system is AMD64. However it fails when using the devcontainer feature if the host system is aarch64 (tested on an Apple M1)

The spin CLI is a dynamically linked binary, which assumes GLIBC existing on the system (container). GLIBC is missing on the default image used for devcontainers when running on aarch64.

This should be addressed using the smallest dependencies possible, to ensure actual modification to the devcontainer are happening quickly.

ThorstenHans commented 10 months ago

see https://github.com/fermyon/spin/issues/168#issuecomment-1698745511