Steffo99 / greed

Customizable, multilanguage Telegram shop bot with Payments support
GNU Affero General Public License v3.0
523 stars 258 forks source link

Feature: `linux/arm/v7` support for Raspberry Pi #194

Open semaf opened 1 year ago

semaf commented 1 year ago

Describe the proposed feature

Hey,

Supporting Raspberry Pi (armhf) would be interesting. You have a great project!

regards

Reasoning

mi@raspberrypi:~ $ docker run --volume "$(pwd)/config:/etc/greed" --volume "$(pwd)/strings:/usr/src/greed/strings" --volume "$(pwd)/data:/var/lib/greed" ghcr.io/steffo99/greed
Unable to find image 'ghcr.io/steffo99/greed:latest' locally
latest: Pulling from steffo99/greed
Digest: sha256:3c93908e10f2cf0a1de8e066c62e109ad32386c979bf82ee05dc716364240d5b
Status: Downloaded newer image for ghcr.io/steffo99/greed:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

Additional information

No response

Steffo99 commented 1 year ago

Seems like pip / buildx currently has some kind of bug when running on linux/arm...?

https://github.com/Steffo99/greed/actions/runs/3610869977/jobs/6084936789#step:6:376

I'm not sure what's causing it; in the meantime, try building the image yourself!

$ git clone https://github.com/Steffo99/greed.git
$ git checkout v0.18.0
$ docker build --tag ghcr.io/steffo99/greed:0.18