可以在.openshift/action_hooks/build中使用yum安装依赖项吗? [英] Can dependencies be installed with yum in .openshift/action_hooks/build?
问题描述
我正在使用DIY墨盒,并且想在安装阶段(.openshift/action_hooks/build)中使用yum安装依赖项.这可能吗?
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?
当我尝试时,它失败并显示错误:rpmdb打开失败",并且拒绝了使用sudo的权限.
When I try, it fails with "Error: rpmdb open failed", and permission to use sudo is denied.
推荐答案
否,您必须具有root用户权限才能通过yum安装软件包.如果您有想要安装的软件包,并且可以作为一个很好的例子,则可以在此处添加它(www.openshift.com/ideas)或在此处提交bugzilla票证(
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)
这篇关于可以在.openshift/action_hooks/build中使用yum安装依赖项吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!