简体   繁体   English

如何在 Docker alpine 容器上安装 hwloc-dev package

[英]How to install hwloc-dev package on Docker alpine container

The hwloc-dev package missing on the Docker Alpine Linux container. Docker Alpine Linux 容器中缺少 hwloc-dev package。

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

As indicated by the package explorer , this package is in the alpine edge community repository.package 资源管理器所示,这个 package 在 alpine edge 社区存储库中。

You need to add it to your /etc/apk/repositories :您需要将它添加到您的/etc/apk/repositories

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM