From: Javi Merino Date: Fri, 18 Oct 2024 09:17:43 +0000 (+0100) Subject: CI: Refresh the Debian 12 x86_32 container X-Git-Tag: 4.20.0-rc1~219 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1ceabff11575e5acb97f29aa9091539dfaf05e3d;p=xen.git CI: Refresh the Debian 12 x86_32 container Rework the container to be non-root, use heredocs for readability, and use apt-get --no-install-recommends to keep the size down. Rename the job to x86_32, to be consistent with XEN_TARGET_ARCH and the naming scheme of all the other CI jobs: ${VERSION}-${ARCH}-${BUILD_NAME} Remove build dependencies for building QEMU. The absence of ninja/meson means that the container hasn't been able to build QEMU in years. Remove build dependencies for the documentation as we don't have to build it for every single arch. This reduces the size of the container from 2.22GB to 1.32Gb. Signed-off-by: Javi Merino Reviewed-by: Andrew Cooper --- diff --git a/automation/build/debian/12-x86_32.dockerfile b/automation/build/debian/12-x86_32.dockerfile new file mode 100644 index 0000000000..ef7a257155 --- /dev/null +++ b/automation/build/debian/12-x86_32.dockerfile @@ -0,0 +1,51 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/i386 debian:bookworm +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive + +RUN <