plugsy / core

A simple, pluggable dashboard and status page
164 stars 4 forks source link

Support for ARMv7? #3

Closed afonsosantos closed 1 year ago

afonsosantos commented 3 years ago

Hi! Just discovered this project, and really like the look and feel of it! Is there any chance this will be ported to ARM? Would like to run it on my Raspberry Pi 4.

Thanks!

Inlustra commented 3 years ago

I'd love to implement this, that being said I've never developed any docker images supporting ARMv7.

Do you know if it's just a case of replacing the FROM tag in docker to arm32v7/node? Would love some support or even just some direction.

afonsosantos commented 3 years ago

I've found this Docker image: https://hub.docker.com/r/arm32v7/node/, not sure if that "just works". You could try to create a new branch for it and test. Sadly, I do not have much experience in Docker.

EDIT: I will clone the repo to my Raspberry Pi and try that suggestion!

petersem commented 3 years ago

Using github actions https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

or just edit your build file and build manually for each architecture.

Inlustra commented 3 years ago

Yeah I'm actually working on this at the moment along with a Home Assistant supervisor integration

Inlustra commented 3 years ago

ARMv7 support is in plugsy/agent now! Unfortunately the build of plugsy/core is taking much much longer and times out (Over 6 hours)

But this is useful if you can host a plugsy/core on another machine and still get the data from your Armv7 machine

See: https://github.com/plugsy/core/blob/main/docs/agent-mode.md

afonsosantos commented 3 years ago

Hi!

Nice, thank you for the follow-up. I will test it and report!