makes working with ruby pretty easy. I mean, I'm fairly competent at managing rbenv, but if I can use the exact same image to develop in that I deploy in? Win-Win.
Distrobox is essentially just podman/docker, but with preconfigured defaults to make it more intuitive and straightforward when you need a single environment with multiple uses / applications.
Inside the container, there's a distrobox-exportdistrobox-export command that will export a script to your .local/bin (for binaries) or a desktop file to your .local/share/applications (for GUI apps).
right, I understand. there's two conflated terms here, packaging and building. you want to build a package (alternatively known as packing a package). Regularest was making a small joke about building the driver itself (as in, compile the code into a functional binary), because nvidia's driver code isn't open source, you can't do that.