如何在Docker alpine容器上安装hwloc开发包

如何在Docker alpine容器上安装hwloc开发包,docker,alpine,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): 如所示,此包位于alpine edge社区存储库中 您需要将其添加到您的/etc/apk/repositories: echo'h

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):
如所示,此包位于alpine edge社区存储库中

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

echo'https://dl-cdn.alpinelinux.org/alpine/edge/community'>>/etc/apk/repositories
如所示,此软件包位于alpine edge社区存储库中

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

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