MDeLuise / plant-it

🪴 Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
686 stars 25 forks source link

ARMv8 Support #278

Open ryand11 opened 3 months ago

ryand11 commented 3 months ago

Avoid duplicated feature requests

Description

Add ARMv8 support to build pipelines to enable hosting on Raspberry PI

igorsantos07 commented 3 months ago

I'm looking for the same, so I can help bring Plant-it to my Home Assistant install :)

igorsantos07 commented 3 months ago

Actually... it looks like it's possible to build it manually on an ARM machine already, by using TARGETPLATFORM=linux/arm64?

See https://github.com/MDeLuise/plant-it/blob/main/deployment/Dockerfile#L4-L11

MDeLuise commented 3 months ago

Hi all, thanks for bringing this up.

From what I understand, ARMv8 corresponds to linux/arm64. If that’s the case, the image already supports this architecture and is available on both Docker Hub and GitHub Packages. Does you encurred in any problem using the linux/arm64 image version on a Raspberry PI?

disconn3ct commented 1 month ago

Tested today and it worked fine on pi4b, using the example compose.