From 28ee30fcc4bb97f39ac159c13723c6a7d6a9598c Mon Sep 17 00:00:00 2001 From: Aishwarya TCV Date: Wed, 9 Jul 2025 20:51:30 +0100 Subject: [PATCH] cointainers: add kernel build dependencies and tuxmake to CI container Enhance the Fastpath CI container to support kernel regression bisection by installing required build tools and TuxMake (v1.29.3). TuxMake is installed via pip to ensure consistent kernel builds using the same toolchain across environments. Embedding tuxmake in the container eliminates variability in toolchains and ensures that kernel builds during bisection are uniform. Signed-off-by: Aishwarya TCV --- containers/ci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/containers/ci/Dockerfile b/containers/ci/Dockerfile index 6b8509f..b4a29ff 100644 --- a/containers/ci/Dockerfile +++ b/containers/ci/Dockerfile @@ -23,6 +23,7 @@ COPY fastpath/requirements.txt /tmp/requirements.txt RUN pip3 install -r /tmp/requirements.txt RUN rm -rf /tmp/requirements.txt + # Install packages required by ci. RUN apt-get update && \ apt-get install --assume-yes --no-install-recommends --option=debug::pkgProblemResolver=yes \ @@ -32,6 +33,20 @@ RUN apt-get update && \ git RUN pip install --no-cache-dir requests ruamel.yaml +# Additional packages for kernel build and bisection support +RUN apt-get update && \ + apt-get install --assume-yes --no-install-recommends \ + gcc-aarch64-linux-gnu \ + make \ + bc \ + flex \ + bison \ + libssl-dev \ + libelf-dev + +# Add TuxMake for kernel builds with toolchain control +RUN pip install tuxmake==1.29.3 + RUN mkdir /tools ENV PATH="/tools:${PATH}" -- GitLab