Create Raspbian container
We started building Raspbian from Debian ARM containers and all was working but now we got some dependencies broken:
The following packages have unmet dependencies:
jami : Depends: libwebkit2gtk-4.0-37 (>= 2.26.3-1~deb10u1) but 2.26.2-1~deb10+1+rpi1 is to be installed
E: Unable to correct problems, you have held broken packages.
We did an investigation and we found this build dependency declaration:
libwebkit2gtk-4.0-dev | libwebkit2gtk-3.0-dev,
Until there all is OK but debian and raspbian versions aren't the same:
From debian machine
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Version: 2.26.3-1~deb10u1
This build comes from the GTK port of WebKit (API version 4.0).
From Raspberry machine:
pi@raspberrypi:~ $ apt show libwebkit2gtk-4.0-dev| grep -i version
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Version: 2.26.2-1~deb10+1+rpi1
This build comes from the GTK port of WebKit (API version 4.0).
We can fix it and avoid any future problem by creating a Raspbian image for Docker (there are not any official one and community images does not provide Dockerfiles then we can not reuse their work).
This links could be be useful:
- https://www.raspberrypi.org/forums/viewtopic.php?t=234715
- https://github.com/wokis/raspberrypi/blob/master/rpi-debootstrap.sh
- https://docs.docker.com/develop/develop-images/baseimages
- https://downloads.raspberrypi.org/raspbian/
This new Dockerile must replace the actual one for raspbian