features
features copied to clipboard
AlmaLinux:minimal uses "microdnf" installs fail due to lack of "yum" or "dnf".
The RedHat derivative Alma Linux, like Rocky Linux, installs the package curl-minimal
, which clashes with attempts to install curl
.
This prevents builds of the feature.
Hi @jdputschadi , thank you for opening this issue.
To understand this issue better, could you please share more information about your devcontainer.json configuration and the error logs?
Eljog:
The problem I'm having stems from using building off "almalinux:9-minimal" which, in addition to having "curl-minimal" installed uses microdnf, which needs further adjustments to "main.sh" in the devcontainer package.
When I build from almalinux:9, the current feature works ok. It does not install "curl" because it is NOT rocky linux 9.
My plan is to provide a PR soon (need some internal corporate stuff to get completed).
Perhaps I should change the subject to be "enhancemnts needed to support 'almalinux:minimal' images. I suspect these same enhancements would be needed for rockylinux and redhat/ubi[89]:minimal images too.
I've been working on updates to other features to support the redhat family (RHEL/Alma/Rocky) of OSes and have already had to incorporate the microdnf stuff. Quite willing to provide a PR for that here.
Jeff.