Alpine is a Linux distribution that I guess it must have the header files. How to solve it in alpine container?
Asked
Active
Viewed 668 times
-1
-
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
-
2You probably want to install https://pkgs.alpinelinux.org/package/edge/main/x86/linux-headers – PiRocks Dec 24 '21 at 06:09
1 Answers
1
linux-headers
should be installed exlicitly in alpine linux.
apk add linux-headers

zitsen
- 339
- 2
- 10