I am using a DIY cartridge, and would like to use yum to install a dependency in the install stage (.openshift/action_hooks/build). Is this possible?
When I try, it fails with "Error: rpmdb open failed", and permission to use sudo is denied.
I am using a DIY cartridge, and would like to use yum to install a dependency in the install stage (.openshift/action_hooks/build). Is this possible?
When I try, it fails with "Error: rpmdb open failed", and permission to use sudo is denied.
No, you would have to have root access to install packages via yum. If there is a package that you would like installed, and can make a good case for it, you can either add it here (www.openshift.com/ideas) or file a bugzilla ticket here (https://bugzilla.redhat.com/enter_bug.cgi?product=OpenShift%20Online)