-1

Alpine is a Linux distribution that I guess it must have the header files. How to solve it in alpine container?

zitsen
  • 339
  • 2
  • 10
  • 1
    "Alpine is a Linux distribution that I guess it must have the header files." Guess again, the base alpine image is very minimal – PiRocks Dec 24 '21 at 06:04
  • 2
    You probably want to install https://pkgs.alpinelinux.org/package/edge/main/x86/linux-headers – PiRocks Dec 24 '21 at 06:09

1 Answers1

1

linux-headers should be installed exlicitly in alpine linux.

apk add linux-headers
zitsen
  • 339
  • 2
  • 10