From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Beraldo Leal" <bleal@redhat.com>
Subject: [PULL 15/19] tests/docker: upgrade debian-all-test-cross to bookworm
Date: Tue, 31 Oct 2023 14:43:57 +0000 [thread overview]
Message-ID: <20231031144401.1238210-16-alex.bennee@linaro.org> (raw)
In-Reply-To: <20231031144401.1238210-1-alex.bennee@linaro.org>
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
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231029145033.592566-16-alex.bennee@linaro.org>
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
next prev parent reply other threads:[~2023-10-31 14:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 14:43 [PULL 00/19] Updates for testing, gitlab, gdbstub, plugins and semihosting Alex Bennée
2023-10-31 14:43 ` [PULL 01/19] tests/vm/openbsd: Use the system dtc package Alex Bennée
2023-10-31 14:43 ` [PULL 02/19] tests/tcg: Add -fno-stack-protector Alex Bennée
2023-10-31 14:43 ` [PULL 03/19] gitlab: split alpha testing into a legacy container Alex Bennée
2023-10-31 14:43 ` [PULL 04/19] gitlab: clean-up build-soft-softmmu job Alex Bennée
2023-10-31 14:43 ` [PULL 05/19] gitlab: add build-loongarch to matrix Alex Bennée
2023-10-31 14:43 ` [PULL 06/19] tests/docker: use debian-legacy-test-cross for alpha Alex Bennée
2023-10-31 14:43 ` [PULL 07/19] tests/docker: move sh4 to use debian-legacy-test-cross Alex Bennée
2023-10-31 14:43 ` [PULL 08/19] tests/docker: use debian-all-test-cross for power Alex Bennée
2023-10-31 14:43 ` [PULL 09/19] tests/docker: use debian-all-test-cross for hppa Alex Bennée
2023-10-31 14:43 ` [PULL 10/19] tests/docker: use debian-all-test-cross for m68k Alex Bennée
2023-10-31 14:43 ` [PULL 11/19] tests/docker: use debian-all-test-cross for mips64 Alex Bennée
2023-10-31 14:43 ` [PULL 12/19] tests/docker: use debian-all-test-cross for mips Alex Bennée
2023-10-31 14:43 ` [PULL 13/19] tests/docker: use debian-all-test-cross for riscv64 Alex Bennée
2023-10-31 14:43 ` [PULL 14/19] tests/docker: use debian-all-test-cross for sparc64 Alex Bennée
2023-10-31 14:43 ` Alex Bennée [this message]
2023-10-31 14:43 ` [PULL 16/19] gdbstub: Check if gdb_regs is NULL Alex Bennée
2023-10-31 14:43 ` [PULL 17/19] semihosting: fix memleak at semihosting_arg_fallback Alex Bennée
2023-10-31 14:44 ` [PULL 18/19] plugins: Remove an extra parameter Alex Bennée
2023-10-31 14:44 ` [PULL 19/19] contrib/plugins: Close file descriptor on error return Alex Bennée
2023-10-31 23:31 ` [PULL 00/19] Updates for testing, gitlab, gdbstub, plugins and semihosting Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231031144401.1238210-16-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=bleal@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).