kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
489 stars 102 forks source link

Docker image for raspberry pi #68

Closed dragoncube closed 7 years ago

dragoncube commented 7 years ago

It would be very nice to have docker image for raspberry pi (using with Hypriot OS, for example). It would allow to side-load some extra stuff (like exposing temperature sensors attached to pi via REST and so on)

cedricve commented 7 years ago

Hi @dragoncube

Well I don't think that will be hard to develop, however the thing I'm concerned about is automated builds. At the moment we have Travis-CI building the docker images for x86, each time a new commit has been pushed. I'm not aware of something similar for ARM machines?

dragoncube commented 7 years ago

@cedricve yes, automated builds a problem, you either need to have ARM build agents, or deal with QEMU, which is not that straightforward (https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/). Though it would be good at least to have verified Dockerfile which you can build locally on your own pi.

cedricve commented 7 years ago

I will work on this @dragoncube, if you can help that would be great ;)

dragoncube commented 7 years ago

@cedricve I definitely can help with testing. BTW, I've went through the article once again, looks like it should be straightforward:

FROM resin/armv7hf-debian

RUN [ "cross-build-start" ]

RUN apt-get update
RUN apt-get install python
RUN pip install virtualenv

RUN [ "cross-build-end" ]

cedricve commented 7 years ago

This might be more interesting: http://blog.hypriot.com/post/setup-simple-ci-pipeline-for-arm-images/

cedricve commented 7 years ago

Discussion forwarded to docker repo. Multi-architecture support: kerberos-io/docker#3.