|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v1 2/6] CI: Refresh the Debian 12 x86_32 container
On Thu, Oct 24, 2024 at 11:04:17AM +0100, Javi Merino wrote:
> 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, as we don't do it since
> e305256e69b1 ("CI: Stop building QEMU in general").
>
> 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 <javi.merino@xxxxxxxxx>
> ---
> automation/build/debian/12-x86_32.dockerfile | 51 +++++++++++++++++++
> .../build/debian/bookworm-i386.dockerfile | 50 ------------------
> automation/gitlab-ci/build.yaml | 8 +--
> automation/scripts/containerize | 2 +-
> 4 files changed, 56 insertions(+), 55 deletions(-)
> create mode 100644 automation/build/debian/12-x86_32.dockerfile
> delete mode 100644 automation/build/debian/bookworm-i386.dockerfile
>
> diff --git a/automation/build/debian/12-x86_32.dockerfile
> b/automation/build/debian/12-x86_32.dockerfile
> new file mode 100644
> index 000000000000..d3c67a256212
> --- /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" \
> + maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
> +
> +ENV DEBIAN_FRONTEND=noninteractive
> +ENV USER root
This line shouldn't be here. I forgot to remove it. The container
has a USER line at the end to set it.
Cheers,
Javi
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |