Skip to content

neofob/compose-kernel-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build the kernel from source with gcc container

A container to build linux kernel with the latest gcc.

Required stuff

  • Linux Kernel Source code, check out locally
  • docker-compose

WorkFlow

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
$ cd linux-stable
$ git checkout linux-4.18.y
# or your branch/commit
# cd back to this directory
# edit default_settings.env to point correct places

$ docker-compose build
$ docker-compose up

Default Environment Variables

Variable Default Value
KERNEL_SRC /src/linux
BUILD_OUTPUT /tmp/
OLD_CONFIG /tmp/old_config

References:

author: tuan t. pham

About

Build the Linux kernel with latest gcc in docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published