[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/17] tests/docker: upgrade debian-all-test-cross to bookworm
From: |
Alex Bennée |
Subject: |
[PATCH 13/17] tests/docker: upgrade debian-all-test-cross to bookworm |
Date: |
Sat, 28 Oct 2023 11:33:07 +0100 |
This requires a few more tweaks than usual as:
- the default sources format has changed
- bring in python3-tomli from the repos
- split base install from cross compilers
- also include libclang-rt-dev for sanitiser builds
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.../dockerfiles/debian-all-test-cross.docker | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker
b/tests/docker/dockerfiles/debian-all-test-cross.docker
index 43cc083318..2cc7a24d4d 100644
--- a/tests/docker/dockerfiles/debian-all-test-cross.docker
+++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
@@ -6,10 +6,10 @@
# basic compilers for as many targets as possible. We shall use this
# to build and run linux-user tests on GitLab
#
-FROM docker.io/library/debian:11-slim
+FROM docker.io/library/debian:12-slim
# Duplicate deb line as deb-src
-RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >>
/etc/apt/sources.list
+RUN sed -in "s/Types: deb/Types: deb deb-src/g"
/etc/apt/sources.list.d/debian.sources
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
@@ -25,7 +25,16 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
clang \
flex \
git \
+ libclang-rt-dev \
ninja-build \
+ python3-pip \
+ python3-setuptools \
+ python3-tomli \
+ python3-venv \
+ python3-wheel
+
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt install -y --no-install-recommends \
gcc-aarch64-linux-gnu \
libc6-dev-arm64-cross \
gcc-arm-linux-gnueabihf \
@@ -53,13 +62,8 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
gcc-s390x-linux-gnu \
libc6-dev-s390x-cross \
gcc-sparc64-linux-gnu \
- libc6-dev-sparc64-cross \
- python3-pip \
- python3-setuptools \
- python3-venv \
- python3-wheel
+ libc6-dev-sparc64-cross
-RUN /usr/bin/pip3 install tomli
ENV QEMU_CONFIGURE_OPTS --disable-system --disable-docs --disable-tools
ENV DEF_TARGET_LIST
aarch64-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sparc64-linux-user
--
2.39.2
- [PATCH 07/17] tests/docker: use debian-all-test-cross for hppa, (continued)
- [PATCH 07/17] tests/docker: use debian-all-test-cross for hppa, Alex Bennée, 2023/10/28
- [PATCH 04/17] tests/docker: use debian-legacy-test-cross for alpha, Alex Bennée, 2023/10/28
- [PATCH 09/17] tests/docker: use debian-all-test-cross for mips64, Alex Bennée, 2023/10/28
- [PATCH 03/17] gitlab: split alpha testing into a legacy container, Alex Bennée, 2023/10/28
- [PATCH 01/17] tests/vm/openbsd: Use the system dtc package, Alex Bennée, 2023/10/28
- [PATCH 08/17] tests/docker: use debian-all-test-cross for m68k, Alex Bennée, 2023/10/28
- [PATCH 10/17] tests/docker: use debian-all-test-cross for mips, Alex Bennée, 2023/10/28
- [PATCH 06/17] tests/docker: use debian-all-test-cross for power, Alex Bennée, 2023/10/28
- [PATCH 05/17] tests/docker: move sh4 to use debian-legacy-test-cross, Alex Bennée, 2023/10/28
- [PATCH 14/17] gdbstub: Check if gdb_regs is NULL, Alex Bennée, 2023/10/28
- [PATCH 13/17] tests/docker: upgrade debian-all-test-cross to bookworm,
Alex Bennée <=
- [PATCH 15/17] semihosting: fix memleak at semihosting_arg_fallback, Alex Bennée, 2023/10/28
- [PATCH 11/17] tests/docker: use debian-all-test-cross for riscv64, Alex Bennée, 2023/10/28
- [PATCH 12/17] tests/docker: use debian-all-test-cross for sparc64, Alex Bennée, 2023/10/28
- [PATCH 17/17] contrib/plugins: Close file descriptor on error return, Alex Bennée, 2023/10/28
- [PATCH 16/17] plugins: Remove an extra parameter, Alex Bennée, 2023/10/28