nunofgs / docker-octoprint

Dockerfile to set up Octoprint with x86, armv6, armv7 and arm64 support!
https://hub.docker.com/r/nunofgs/octoprint/
GNU Affero General Public License v3.0
58 stars 32 forks source link

Add support for Raspberry PI Camera module #16

Closed plapointe6 closed 4 years ago

plapointe6 commented 5 years ago

This pull request contains changes that allow to optionnaly use the Raspberry PI Camera module with mjpg-streamer. Please see commits comments and diff for more details.

I am new to Docker. In fact, adding RPI Camera module compatibility was the reason for me to really get into Docker and learn how it works. The changes proposed has been tested and work well on a Raspberry Pi 3.

I got a little inspired from this repo : https://github.com/open-horizon/cogwerx-mjpg-streamer-pi3 My first wish was to satisfy dependencies to allow the mjpg-streamer make process to compile modules related to the camera module, but after investigation, it seems that we can't do this without the sacrifice of the x86 compatibility ... So, I opted with the precompiled library method.

nunofgs commented 4 years ago

Superseded by #24