Comment 8 for bug 2029431

Revision history for this message
Michael Cook (mcook3102) wrote :

Sure, in https://bugs.launchpad.net/ubuntu/+source/libslirp/+bug/2029431/comments/3 I mentioned that I'm trying to build a qemu based raspberry pi with newer versions (dockerpi) with the hope to create a virtual RaspPi 4 that can run in a small, lean docker container. (I know qemu doesn't have platform support for Rasp4 yet).

The dockerpi project worked, pre-Qemu 7.2 but now fails. It is building a static and stripped qemu executable which ends up working well and in a very small container image.

My attempts to build a non-static dockerpi container fail because libslirp and emulated networking is missing (libslirp). In addition, the end result container is many times (10x) the size of the original container that includes the static qemu which is impractical as I wish to run a fleet of qemu-based RaspPis in a k8s cluster or swarm.

It seemed, the easiest route was to re-introduce the static qemu in this libslirp library in the dockerpi project. Maybe I'm still missing something fundamental so please feel free to enlighten me ;o)