quarkus
quarkus copied to clipboard
add libcap-dev to ubi-quarkus-native-image* (or create additional one with library)
Description
libcap-dev used in https://github.com/quarkiverse/quarkus-jef at this moment to check linux capabilities to execute HW integrated code.
Quarkus builds using Ubuntu and not a problem to add
sudo apt-get install -y libcap-dev
to build.xml
But for native-image genearation in quarkus-ecosystem-ci Quarkus team using ubi-quarkus-native-image* what based on RHEL8. In the RHEL8 no possibility to install libcap-dev on top over rpm package manager because it's require subscription.
Is possible to create new image or add libcap-dev to main image?
Implementation ideas
No response
@cescoffier @tqvarnst any ideas on how to solve this ?
We are in the process of completely redesigning how the images are built. I'm adding this as a requirement. However, because we cannot create images for every single library out there, you will end up having to build your own image with the quarkus one as the base.
Hi Clement, do you have any approximately ETA for this feature?
I would love to have the new approach implemented this summer (so between now and the beginning of September). I have my first experiment planned for Friday.
Hi Clement, can help with implementation if needed. Like a person who have iterest to do this :) BTW: In any case - looks like need to move from RHEL to some free linux like Ubuntu in open-source level for this feature
I don't think any additional library should be added globally. Similarly with AWT dependencies, you add those in your own image when needed...
usecase for https://github.com/quarkusio/quarkus/issues/34186