rethinkdb / horizon

Horizon is a realtime, open-source backend for JavaScript apps.
MIT License
6.78k stars 350 forks source link

horizon on RPI #817

Open lavvy opened 8 years ago

lavvy commented 8 years ago

hello guys please could you keep an arm compatible docker image for test. A Dockerfile.armhf would be nice. Many of us test rethinkdb on rpi and its pretty fast.

dalanmiller commented 8 years ago

Hey @lavvy, Docker just released 1.12 with ARM compatibility I think two weeks ago. Do you have experience in building images for ARM? Can they also be hosted on Docker Hub?

I'd love to get this going!

lavvy commented 8 years ago

Yeah, Daniel its pretty simple. You have to substitute the base os with an arm substitute. In this case, it will be FROM node:5-slim Will be FROM hypriot/node:5-slim

And then build in an arm platform like rpi or scaleway ci.

I pretty much built it and it built successfully but i couldn't test it cos i haven't learnt rethinkdb and horizon too well On Sep 9, 2016 1:47 PM, "Daniel Alan Miller" notifications@github.com wrote:

Hey @lavvy https://github.com/lavvy, Docker just released 1.12 with ARM compatibility I think two weeks ago. Do you have experience in building images for ARM? Can they also be hosted on Docker Hub?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rethinkdb/horizon/issues/817#issuecomment-245987216, or mute the thread https://github.com/notifications/unsubscribe-auth/AGsC46lOANzZtmrPGIlMhd8aX9B_-WC6ks5qoZuzgaJpZM4J5M-O .

dalanmiller commented 8 years ago

Awesome! I'm working on it now actually.

First step is to build a RethinkDB image, there seems to be some support for the resin/rpi-raspbian:jessie image as well. I think the Horizon server image will be much simpler.

lavvy commented 8 years ago

Ok cool

lavvy commented 8 years ago

@dalanmiller were you able to build and test it