How to install hwloc-dev package on Docker alpine container

1k Views Asked by At

The hwloc-dev package missing on the Docker Alpine Linux container.

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

There are 1 best solutions below

0
On

As indicated by the package explorer, this package is in the alpine edge community repository.

You need to add it to your /etc/apk/repositories:

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