From patchwork Thu Oct 24 10:04:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javi Merino X-Patchwork-Id: 13848690 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 20F7DCFA456 for ; Thu, 24 Oct 2024 10:04:52 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.825100.1239308 (Exim 4.92) (envelope-from ) id 1t3uht-0005q2-0r; Thu, 24 Oct 2024 10:04:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 825100.1239308; Thu, 24 Oct 2024 10:04:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3uhs-0005nS-Qr; Thu, 24 Oct 2024 10:04:40 +0000 Received: by outflank-mailman (input) for mailman id 825100; Thu, 24 Oct 2024 10:04:39 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3uhr-0005hv-2V for xen-devel@lists.xenproject.org; Thu, 24 Oct 2024 10:04:39 +0000 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [2a00:1450:4864:20::130]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 60db4d1f-91ef-11ef-a0bf-8be0dac302b0; Thu, 24 Oct 2024 12:04:38 +0200 (CEST) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-53a007743e7so850546e87.1 for ; Thu, 24 Oct 2024 03:04:38 -0700 (PDT) Received: from localhost.localdomain ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb66c72866sm5482506a12.95.2024.10.24.03.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 03:04:37 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 60db4d1f-91ef-11ef-a0bf-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1729764277; x=1730369077; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MpCJXGcVny4qY37VLhg54wKOfSqt3MWgG1985f7jSN8=; b=PkLWyoz+k38ypMH0sm8zNCIbVrB1kxCg1/4MQIrPFJPHeAVGnBdEkKk5MO6J8WbjCq iymmPPOoCAC1hFizLEkQESNulnLpV7K4kMTPe5GG1YvkWxxuT73rpPR6trYLzeUVW9D6 wrxH5gGYCVfy7HngK+TvIXAfgcnEAGq7CsmoA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729764277; x=1730369077; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MpCJXGcVny4qY37VLhg54wKOfSqt3MWgG1985f7jSN8=; b=qW2HPSo9CztD0BHf5iTWSuMb80819LZL40uTiI8huJLUmsAKCQe1qmGganWsDJEbFT 5/nXULbmG4Ngw/Y4KvCNnsFwKgD3uSRUnHC71TiO3WUvXGPCNyWmXHQFGQRyCDEj41SB HwEMbeh16j9JaR8bQTynfKUcLpHxqFOroT0Fx96qdL2vovdt98Io8bouscWoik+iFJZW ydOew3HvpeeDxWe+eZF33hdi7jtcS1Q6eG+/XBoO1TOB0l7I2zCTo+/0pKjB0F5HbLnr UutpmMLYlZ8wCXlW63jApiGt2ZPYoCRu1f+46Ldvvd7Br6GaX90Qw9fZ3ZnCQ0JdZSei hYlw== X-Gm-Message-State: AOJu0Yy+pC6b6dbDiXLs+bdxNZEvI5FFZoCp6slev4Vmbf5rQeJPfc2W pl24r1vrEUqYQ0ggBVhyXyKY47oInrdXZ/JMVD8QrRW9aeQK/R3UEe2rBT+Ym+I2lYyqP1HnjpI fzUg= X-Google-Smtp-Source: AGHT+IGnKFsjEXeSsDFmCi7N84r6N86DDLlEJWdL3RWtQ8Mkd+KE+dji58Ba50xXb7lDdIyZR1gahw== X-Received: by 2002:a05:6512:1246:b0:536:9f72:c427 with SMTP id 2adb3069b0e04-53b1a343cfamr2894874e87.28.1729764277339; Thu, 24 Oct 2024 03:04:37 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: Javi Merino , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH v1 3/6] CI: Refresh the Debian 12 arm64 container Date: Thu, 24 Oct 2024 11:04:18 +0100 Message-ID: <50c1ec986787c8fe3bf975b0003069b67e885032.1729760501.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Rework the container to use heredocs for readability and use apt-get --no-install-recommends to keep the size down. Rename the job to debian-12-arm64-* to follow the naming scheme of all the other CI jobs. This reduces the size of the debian:12-arm64v8 from 2.25GB down to 1.62GB. Signed-off-by: Javi Merino --- automation/build/debian/12-arm64v8.dockerfile | 68 +++++++++++++++++++ .../build/debian/bookworm-arm64v8.dockerfile | 55 --------------- automation/gitlab-ci/build.yaml | 8 +-- automation/gitlab-ci/test.yaml | 4 +- automation/scripts/containerize | 2 +- 5 files changed, 75 insertions(+), 62 deletions(-) create mode 100644 automation/build/debian/12-arm64v8.dockerfile delete mode 100644 automation/build/debian/bookworm-arm64v8.dockerfile diff --git a/automation/build/debian/12-arm64v8.dockerfile b/automation/build/debian/12-arm64v8.dockerfile new file mode 100644 index 000000000000..4da1b074aedb --- /dev/null +++ b/automation/build/debian/12-arm64v8.dockerfile @@ -0,0 +1,68 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/arm64/v8 debian:bookworm +LABEL maintainer.name="The Xen Project" \ + maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive + +# build depends +RUN <