We have been using the same distro/toolchain for more than a year now, so let's update them to their newest versions. pip3 now warns that we are not in a venv. Acknowledge this and ignore it as we want labgrid to be available to pytest in the container without having to source a virtualenv first. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- test/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Containerfile b/test/Containerfile index fe3e3a6186b0..06d155bf4d28 100644 --- a/test/Containerfile +++ b/test/Containerfile @@ -2,7 +2,7 @@ # This Containerfile is used to build an image containing basic stuff to be used # to build barebox and run our test suites. -FROM debian:bullseye +FROM debian:bookworm MAINTAINER Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> LABEL Description="This image is for building and testing barebox inside a container" @@ -49,7 +49,7 @@ RUN apt-get update && apt-get install -y \ u-boot-tools \ && rm -rf /var/lib/apt/lists/* -ENV GCC_VERSION=13.1.0 +ENV GCC_VERSION=14.2.0 # Manually install the kernel.org Crosstool based toolchains RUN korg_crosstool_dl() { wget -nv -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/${1}/${2}/${1}-gcc-${2}-nolibc-${3}.tar.xz | tar -C /opt -xJ ; } && \ @@ -70,7 +70,7 @@ RUN echo barebox ALL=NOPASSWD: ALL > /etc/sudoers.d/barebox RUN cd /tmp && \ git clone --depth 1 -b v23.0 https://github.com/labgrid-project/labgrid && \ cd labgrid && \ - pip3 install . && \ + pip3 install --break-system-packages . && \ ln -s $(which pytest) /usr/local/bin/labgrid-pytest; ENV CROSS_COMPILE_arm=/opt/gcc-${GCC_VERSION}-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- -- 2.39.2