stripe / stripe-cli

A command-line tool for Stripe
https://stripe.com/docs/stripe-cli
Apache License 2.0
1.62k stars 377 forks source link

ARM64 release for Debian- and Ubuntu-based Linux Distros #969

Open ephemeralrogue opened 2 years ago

ephemeralrogue commented 2 years ago

Problem

I run development in a Kali Linux VM on an M1 Mac. Most development software I use has support for arm64 architecture. It appears that while the Stripe CLI has support for arm64 if used natively in MacOS, there isn't an option available for use on other platforms running on the same architecture. I tried to run the CLI via Docker and was met with the same issue: the Docker image runs on amd64, and it appears there isn't an option for arm64.

Feature

Create a release with support for arm64 architecture for Debian- and Ubuntu-based Linux distributions.

Examples

pgib commented 2 years ago

+1 for arm64 Docker images.

In the meantime, you can work around this by explicitly telling Docker what platform to use:

docker run -it --rm --platform linux/amd64 stripe/stripe-cli status
lukejoshuapark commented 2 years ago

Also +1 for this - running dev environments inside a container is totally a thing, seems a tad odd to support Debian arm64 but not Linux given how easy it is to produce both with Go. Any insight into why this decision was made?