piraeusdatastore / piraeus

High Available Datastore for Kubernetes
https://piraeus.io/
Apache License 2.0
440 stars 50 forks source link

docker,drbd: include kbuild tools in debian #145

Closed WanzenBug closed 1 year ago

WanzenBug commented 1 year ago

Debian separates some build tools out of the normal source directory. Without these tools, we cannot build a kernel module. The current "fix" was to mount /usr/lib from the host, but that predictably breaks other distros, as we create a franken-container that way.

The better fix is to install the linux-kbuild-* tools directly in the container.

WanzenBug commented 1 year ago

please make sure to also rm information from the documentation (e.g., LINSTOR UG)

I think those never made it in, as LINBIT doesn't have official images for debian. So there is nothing to fix :)