From 6db222eb1fcee720c75d6230fda90290daf6079c Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 11 Jul 2024 16:09:22 +0100 Subject: [PATCH] CI: Refresh Ubuntu Focal container as 20.04-x86_64 As with 16.04 (Xenial), with python3-setuptools included. Having this package only in some containers was intentional; see commit bbc72a7877d8 ("automation: Add python3's setuptools to some containers") for the rational. This saves ~500M: registry.gitlab.com/xen-project/xen/ubuntu 20.04-x86_64 1.06GB registry.gitlab.com/xen-project/xen/ubuntu focal 1.57GB Signed-off-by: Andrew Cooper Reviewed-by: Anthony PERARD Release-Acked-By: Oleksii Kurochko --- .../build/ubuntu/20.04-x86_64.dockerfile | 72 +++++++++++++++++++ automation/build/ubuntu/focal.dockerfile | 49 ------------- automation/gitlab-ci/build.yaml | 16 ++--- automation/scripts/containerize | 2 +- 4 files changed, 81 insertions(+), 58 deletions(-) create mode 100644 automation/build/ubuntu/20.04-x86_64.dockerfile delete mode 100644 automation/build/ubuntu/focal.dockerfile diff --git a/automation/build/ubuntu/20.04-x86_64.dockerfile b/automation/build/ubuntu/20.04-x86_64.dockerfile new file mode 100644 index 0000000000..39fb297519 --- /dev/null +++ b/automation/build/ubuntu/20.04-x86_64.dockerfile @@ -0,0 +1,72 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/amd64 ubuntu:20.04 +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive + +RUN <