如何在Docker Alpine容器上安装hwloc-dev软件包

时间:2020-10-10 16:03:17

标签: docker alpine

Docker Alpine Linux容器上缺少hwloc-dev软件包。

 # apk add hwloc-dev hwloc-tools
ERROR: unsatisfiable constraints:
  hwloc-dev (missing):
    required by: world[hwloc-dev]
  hwloc-tools (missing):

1 个答案:

答案 0 :(得分:0)

package explorer 所示,此软件包位于 alpine edge 社区存储库中。

您需要将其添加到您的 /etc/apk/repositories

echo 'https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories