Skip to main content

Build a Kernel

After making any required modifications to your kernel, the project uses

docker buildx bake

to build the various Docker images. Each kernel can be targeted specifically, or if needed, any of the configured groups of images can be built together

Supported Build Targets

Bake TargetLanguageVersionNotes
python_3_9Python3.9CPU
python_3_10Python3.10CPU
python_3_9_gpuPython3.9GPU
python_3_10_gpuPython3.10GPU
rlang_4_3_0R4.3.0CPU

Building a Kernel

Once necessary files have been copied, bake can be executed. This will build the requested target, and any required parent images

Python

task python:base:copy-files NBL_PYTHON_VERSION=<python_version> IDENTIFIER=base # or base-gpu for GPU images
task python:noteable:copy-files NBL_PYTHON_VERSION=<python_version> IDENTIFIER=base
docker buildx bake ${target}

R

task r:base:copy-files NBL_LANGUAGE_VERSION=<R version>
docker buildx bake ${target}