This repository contains a Docker image to compile the Linux kernel for Android devices.
All dependencies on the image will remain up to date as build workflow runs every day at 10:00 UTC.
The kernel-build Docker image can be pulled from both ghcr.io and Docker Hub.
docker pull ghcr.io/rabilrbl/kernel-build:latestdocker pull rabilrbl/kernel-build:latestThe kernel-build Docker image can be built from the Dockerfile in this repository.
docker build -t kernel-build .All build arguments specified below are optional.
GIT_NAME: Name to use for git commits. Default:KernelBGIT_EMAIL: Email to use for git commits. Default:20230226+kernelb@users.noreply.github.comPULL_REBASE: Perform rebase instead of merge when pulling. Default:true
You can pass build arguments to the build command like this:
docker build -t kernel-build --build-arg GIT_NAME="John Doe" --build-arg GIT_EMAIL="john@doe.com" .The kernel-build Docker image is tagged with all available branches in this repository. The latest tag is the default branch.
docker pull ghcr.io/rabilrbl/kernel-build:mainPlease note that the Docker image is built on top of the Ubuntu latest image.