mike-engel / jwt-cli

A super fast CLI tool to decode and encode JWTs built in Rust
MIT License
1.08k stars 65 forks source link

Bug: Error running on Fedora Linux in Docker on Apple ARM silicon #292

Open joemoore opened 1 year ago

joemoore commented 1 year ago

Summary

Installed jwt-linux.tar.gz on Linux running in Docker on an M1 Mac and receive the following error:

$> jwt
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Steps to reproduce

In Fedora running in Docker on an M1 mac:

$> curl -L -o - https://github.com/mike-engel/jwt-cli/releases/download/6.0.0/jwt-linux.tar.gz | tar -xz -C .
$> jwt
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Expected behavior

No errors.

More details

Docker desktop: 4.17.0 (99724)

Mac info: M1 Mac OS X 13.5.2 (22G91)

Linux distro details:

$> cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Container Image)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Container Image)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
SUPPORT_END=2023-05-16
VARIANT="Container Image"
VARIANT_ID=container
mike-engel commented 12 months ago

Unfortunately until github provides ARM instances for workflows, this probably isn't something I'll be able to support any time soon reliably. Tracking: https://github.com/actions/runner-images/issues/5631