Sign inSign up

theanurin/gentoo-sources-bundle

By theanurin

Updated about 18 hours ago

Gentoo stage3 based image with set of packages to make ability to compile kernel in few commands via

Image
0

50K+

theanurin/gentoo-sources-bundle repository overview

Docker Pulls

Gentoo Sources Bundle

!!! WARNING: Moving into https://github.com/theanurin/docker-images

Gentoo stage3 based image with set of packages to make ability to compile kernel in few commands via Docker.

Author's Notes

From some point I have to managing a lot of different kernel versions and configurations. It is a pretty messy if you try to do that on your workstation. Toolchains always going forward and it is very hard to build old kernels on latest toolchain. Docker images solve the problem! When you have to update kernel configuration on an old system, just run a container by using proper image (with gentoo-sources and build tools). All of you need, just manage your kernel configuration files.

Use Cases

  • Build Gentoo kernel out side of a Gentoo machine
  • Automate kernel building
  • Build oldest kernels (historical)

Quick Start

docker run --rm --interactive --tty theanurin/gentoo-sources-bundle

# Inside container
make menuconfig
make -j$(nproc)
exit

Quick Start with configuration

docker run --rm --interactive --tty \
  --mount type=bind,source="$(pwd)",target=/data \ 
  theanurin/gentoo-sources-bundle

# Inside container
ln -s /data/kernel.config .config
make menuconfig
make -j$(nproc)
exit

Image name convention

Image Tag NameBuild Source
theanurin/gentoo-sources-bundlelatest build for latest kernel (multi-arch)
theanurin/gentoo-sources-bundle:Xlatest build for specific kernel (multi-arch)
theanurin/gentoo-sources-bundle:X.Ylatest build for specific kernel (multi-arch)
theanurin/gentoo-sources-bundle:X.Y.Zlatest build for specific kernel (multi-arch)
theanurin/gentoo-sources-bundle:YYYYMMDD-X.Y.Zspecific build for specific kernel (multi-arch)
theanurin/gentoo-sources-bundle:ARCHlatest build for latest kernel for specific ARCH
theanurin/gentoo-sources-bundle:ARCH-X.Y.Zlatest build for specific kernel for specific ARCH
theanurin/gentoo-sources-bundle:YYYYMMDD-ARCH-X.Y.Zspecific build for specific kernel for specific ARCH

What the image includes

Developer Notes

python3 -m venv .venv
source .venv/bin/activate
pip3 install requests beautifulsoup4
./tools/gentoo-sources-package-parser.py

Tag summary

Content type

Image

Digest

sha256:0eb150934

Size

605.3 MB

Last updated

about 18 hours ago

docker pull theanurin/gentoo-sources-bundle:arm32v5-7.2.6-testing