-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support Amazon Linux when fetching headers
* check /boot on host for kernel config in addition to /proc/config.gz * improve kernel version splitting when downloading kernel sources * use elfutils-dev instead of libelf-dev to support preparing headers with kernel version used by Amazon Linux RPMs for kernel source/headers are available, somehow, but it seems older versions are not kept around or are hard to track down.
- Loading branch information
Showing
3 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ RUN apk add --update \ | |
bc \ | ||
build-base \ | ||
curl \ | ||
libelf-dev \ | ||
elfutils-dev \ | ||
linux-headers \ | ||
make | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters