【发布时间】:2023-01-05 05:17:32
【问题描述】:
我正在尝试在构建阶段的 docker 镜像中安装 luarocks
RUN yum makecache
RUN yum install -y luarocks
我看到这个错误
=> [ 6/10] RUN yum makecache 380.2s
=> ERROR [ 7/10] RUN yum install -y luarocks 4.7s
------
> [ 7/10] RUN yum install -y luarocks:
#11 0.662 Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
#11 0.693
#11 0.693 This system is not registered with an entitlement server. You can use subscription-manager to register.
#11 0.693
#11 4.450 No package luarocks available.
#11 4.632 Error: Nothing to do
------
executor failed running [/bin/sh -c yum install -y luarocks]: exit code: 1
问题是什么?
如何使用二进制文件安装它?
【问题讨论】: