use debian as base and build ruby ourselves to support daily updates
https://community.openproject.org/projects/devops/work_packages/37520/activity
Why we need that?
Also, take into account some stuff for jemalloc.
Do we need to remove ruby-install-$RUBYINSTALL_VERSION and tarball itself after installation?
HI @top4ek thanks for your comment. Yes, we should remove ruby-install and the tarball after the installation. Right now, this is just a proof of concept. If we do want to do this, it will need some more polish, yes.
As for why we need it, the idea is to get the included dependencies as recent as possible to reduce the number of CVEs. Whether this actually does reduce the number in a meaningful way, we have yet to test as well.
On my experience, sonarcube argues about debian 12 itself, not ruby, but still that good idea.
This doesn't really reduce our current vulnerabilities. Closing for now