Open
Description
I can't seem to install the CLI to Alpine based container images. I'm on Mac Silicon so I'm running Alpine aarch64.
$ docker run --rm -ti alpine
$ apk add curl bash
$ curl -fsSL https://get.phase.dev | bash
...
phase-cli version 1.19.0 successfully installed
$ phase
/bin/sh: phase: not found
$ ldd /usr/local/bin/phase
/lib/ld-linux-aarch64.so.1 (0xf017857a8000)
libdl.so.2 => /lib/ld-linux-aarch64.so.1 (0xf017857a8000)
libz.so.1 => /usr/lib/libz.so.1 (0xf01785777000)
libpthread.so.0 => /lib/ld-linux-aarch64.so.1 (0xf017857a8000)
libc.so.6 => /lib/ld-linux-aarch64.so.1 (0xf017857a8000)
Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/local/bin/phase)
Error relocating /usr/local/bin/phase: __realpath_chk: symbol not found
Error relocating /usr/local/bin/phase: __snprintf_chk: symbol not found
Error relocating /usr/local/bin/phase: __vsnprintf_chk: symbol not found
Error relocating /usr/local/bin/phase: __fread_chk: symbol not found
I believe this is glibc vs musl shenanigans. I tried installing gcompat
which fixed the ld-linux-aarch64.so.1
shared library issue. But I can't figure out the missing symbol issues.