如何在redhat/ubi8中安装gettext-devel
我有一个 docker 文件,我想在其中安装 gettext-devel
,
FROM redhat/ubi8
RUN yum install gettext-devel
但它不起作用:
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS 3.3 MB/s | 797 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream 7.0 MB/s | 2.6 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder 120 kB/s | 16 kB 00:00
No match for argument: gettext-devel
Error: Unable to find a match: gettext-devel
如何安装此软件包?
I have a docker file where I want to install gettext-devel
FROM redhat/ubi8
RUN yum install gettext-devel
which does not work:
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS 3.3 MB/s | 797 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream 7.0 MB/s | 2.6 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder 120 kB/s | 16 kB 00:00
No match for argument: gettext-devel
Error: Unable to find a match: gettext-devel
How can this package be installed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个简单的方法:
但请注意,它会使您的容器成为非 UBI 容器,这会影响您可以用它做什么。
Here's a simple way:
but note that it makes your container non-UBI container, which influnces what you can do with it.