We’re having a hard time getting the Raspberry Pi Camera to work on alpine-node:8-slim
After trying a lot, we’ve settled on a rather cumbersome strategy that involved backing up two libraries at /opt/vc/lib/, running an rpi-update script during the docker build process, plus creating a bunch of symlinks from /opt/vc/lib to /usr/local/lib.
This was working well, up until last friday. We’ve made a small modification to our docker file, which forced a rebuild. After this, every attempt to use the camera resulted in the famous error message below:
bash-4.4# raspistill -o cam.jpg
mmal: mmal_component_create_core: could not find component 'vc.camera_info’mmal: Failed to create camera_info component
mmal: mmal_component_create_core: could not find component 'vc.ril.camera’
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
This problem presented on both a Raspberry Pi 3 and a Raspberry Pi Zero W.
Can you please point us to the best way to build a alpine8-slim container that interfaces well with the RPi Camera?