mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 00:18:53 +00:00
kernel: Rework the kernel build
- Use multi-stage builds - Use a single Dockerfile for all kernels Kernel version and series are passed in as arguments - Use a separate kernel config per kernel version These have been copied from kernel_config and ran through oldconfig to tidy them up - Rename patch directories - Refactor the Makefile to use a template - Allows building of all kernels without arguments to make - Use git tree hash as the image tag - Don't build the image if the tag already exists Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Reference in New Issue
Block a user