Back to Containerization

Containerization Kernel Configuration

kernel/README.md

0.32.0746 B
Original Source

Containerization Kernel Configuration

This directory includes an optimized kernel configuration to produce a fast and lightweight kernel for container use.

  • config-arm64 includes the kernel CONFIG_ options.
  • Makefile includes the kernel version and source package url.
  • build.sh scripts the kernel build process.
  • image/ includes the configuration for an image with build tooling.

Building

  1. The build process relies on having the container tool installed (https://github.com/apple/container/releases).
  2. Run make. This should create the image used for building the resulting Linux kernel, and then run a container with that image to perform the kernel build.

A kernel/vmlinux file will be the result of the build.