Building KDE projects from Docker/LXC?

A quote from https://community.kde.org/Get_Involved/development:

For KDE development, we recommend a Linux operating system installed on your computer or in a virtual machine.

How about using a Docker (or maybe LXC) container with some “rolling” OS like Tumbleweed or Neon instead? Would that be possible? And if yes, would you recommend that?

Rationale: I might want to avoid installing hundreds of packages on my main OS and/or it might not even be a “rolling” OS. A container is more lightweight and can also utilize all CPUs when needed, whereas VMs are less flexible and hence can be less efficient.

One potential drawback of containers that comes to mind is that they’re using host’s kernel, which might be relatively old. How much of an issue could that be?

1 Like