Sign inSign up

moul/kernel-builder

By moul

•Updated over 9 years ago

Kernel build environment in Docker

Image
6

10K+

moul/kernel-builder repository overview

⁠docker-kernel-builder

Kernel build environment in Docker

https://registry.hub.docker.com/u/moul/kernel-builder/⁠

⁠Projects using docker-kernel-builder

⁠Examples

Checkout v4.3 stable branch of the kernel and do a make menuconfig

docker run -it --rm -v $(pwd)/.config:/tmp/.config moul/kernel-builder \
	/bin/bash -xec ' \
		git fetch --tags && git checkout v3.19 && \
		cp /tmp/.config .config && \
		make oldconfig && \
		cp .config /tmp/.config \
	'

Checkout v3.19 stable branch of the kernel and do a make menuconfig with armhf cross tools

docker run -it --rm -v $(pwd)/.config:/tmp/.config \
	-e ARCH=arm -e CROSS_COMPILE="ccache arm-linux-gnueabihf-" \
	moul/kernel-builder \
	/bin/bash -xec ' \
		git fetch --tags && git checkout v3.19 && \
		cp /tmp/.config .config && \
		make oldconfig && \
		cp .config /tmp/.config \
	'

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:95a9127c8…

Size

1.6 GB

Last updated

over 9 years ago

docker pull moul/kernel-builder