This directory includes an optimized kernel configuration to produce a fast and lightweight kernel for container use.
config-arm64includes the kernelCONFIG_options.Makefileincludes the kernel version and source package url.build.shscripts the kernel build process.image/includes the configuration for an image with build tooling.
-
Build the
Containerizationproject by runningmakein the root of the repository. -
Place a kernel you want to use in
bin/vmlinuxdirectory of the repository.a. This kernel will be used to launch the build container.
b. To fetch a default kernel run
make fetch-default-kernelin the root of the repository. -
Run
makein the/kerneldirectory.
A kernel/vmlinux will be the result of the build.