WebThingsIO / gateway-docker

Legacy docker image for WebThings Gateway - now moved to main gateway repo at https://github.com/WebThingsIO/gateway
Mozilla Public License 2.0
72 stars 25 forks source link

Consider adding support to ARMv6 boards #40

Open pauleeeeee opened 4 years ago

pauleeeeee commented 4 years ago

Why? At least five different Raspberry Pi models are ARMv6: Pi, Pi B, Pi Zero, Pi Zero W, and Pi Zero WH.

It is true that NodeJS has discontinued official support for ARMv6.

Unofficial builds do exist, located here: https://unofficial-builds.nodejs.org/download/release/

They are not hosted by Docker Hub however, so individual implementation would be necessary.

Thank you for your consideration

mrstegeman commented 4 years ago

I do understand the value in this. The main problem is the there are no ARMv6 images available for either node:12-buster-slim or debian:buster-slim.

pauleeeeee commented 4 years ago

Thanks Michael,

If I knew more about the topic I would be happy to implement a solution... I wonder if it's possible to create an image that suits the bill.

On Thu, Apr 30, 2020 at 10:44 AM Michael Stegeman notifications@github.com wrote:

I do understand the value in this. The main problem is the there are no ARMv6 images available for either node:12-buster-slim https://hub.docker.com/_/node?tab=tags&page=1&name=12-buster-slim or debian:buster-slim https://hub.docker.com/_/debian?tab=tags&page=1&name=buster-slim.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mozilla-iot/gateway-docker/issues/40#issuecomment-621969835, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADG2G7GHJSALVEFNZVVZHITRPGTGNANCNFSM4MVV2YOQ .

mrstegeman commented 4 years ago

There is a Node 12 image for ARMv6 based on Alpine, rather than Debian, but Alpine uses a different libc which would probably cause a fair number of add-ons to break: https://hub.docker.com/r/arm32v6/node

mrstegeman commented 4 years ago

Also, Debian provides ARMv5 images, but Node is completely unsupported on that target.