Can dependencies be installed with yum in .openshift/action_hooks/build?

北城余情 提交于 2019-12-24 02:06:38

问题


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.


回答1:


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)



来源:https://stackoverflow.com/questions/23985470/can-dependencies-be-installed-with-yum-in-openshift-action-hooks-build

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!