From nobody Wed May 15 12:42:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1607974289; cv=none; d=zohomail.com; s=zohoarc; b=ekwZObFKzLfyPiggLfvu8iMpYIh9Vsw8tK71i7XOjO74TOeko2zYlQMKJiPJ5jW7lSvnUCoHaVSzWLhGS4DIx2UH5ZvFloinyfsTNciHLmh3MQECg87WSIO7tj2DJhxKCpMT5rLOuTdMUJWv4+68vAoKpObYpjlID8frwoKIlWM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607974289; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=vptryWJiqnNVon+goBWNLeFL05sRhVd+RrZzGR0OcUs=; b=iMK1lL8SkEbKTlvOBXyreNK/R0Pt0+A5QkPCmdJ38lrMH1inuOYcj2MsFI6+gnwxgMVFw8+DTvBS30LzlNmNduz3C8T5aQHuOt2bflXghxY/X4rGQkP9WC7ZR4aoH/kZEJO8ygUrzi3V7z6zxIQsyQyJUjRupda3HdjwPCgI6ck= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1607974289154430.6611861214752; Mon, 14 Dec 2020 11:31:29 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-520-zyuoBrfgNtaplt5HgseTzQ-1; Mon, 14 Dec 2020 14:31:16 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5015F195D562; Mon, 14 Dec 2020 19:31:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D6F810023BC; Mon, 14 Dec 2020 19:31:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 96D984BB40; Mon, 14 Dec 2020 19:31:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0BEJV23S018845 for ; Mon, 14 Dec 2020 14:31:02 -0500 Received: by smtp.corp.redhat.com (Postfix) id F1B225D9EF; Mon, 14 Dec 2020 19:31:01 +0000 (UTC) Received: from ridgehead.redhat.com (ovpn-113-72.ams2.redhat.com [10.36.113.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9582D5D9DC; Mon, 14 Dec 2020 19:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607974279; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=vptryWJiqnNVon+goBWNLeFL05sRhVd+RrZzGR0OcUs=; b=WkrbX1vz6uUPaFON4YS157qE1VJWQz1duAajU24b3jO+Uu6C8lzwmk+aZL/8MnxVra5/hY 01kIQhU4asHk+MFytUQb73CyatVFzo6sfkRBvs5880twUFDbcj9M0ozPw1XNntx+G+clTf VvpqcrCyr2EkMme1dqGpHmsZWjZofaE= X-MC-Unique: zyuoBrfgNtaplt5HgseTzQ-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH] ci: containers: Refresh the Dockerfiles Date: Mon, 14 Dec 2020 20:30:56 +0100 Message-Id: <633c216016ad383caca56ef9c1aff0ca715fba2b.1607974080.git.eskultet@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Erik Skultety X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Contains changes utilizing "nosync" and "eatmydata" for speedup as well as fixes for CentOS-8 repoid regression. ci-commit: b098ec6631a85880f818f2dd25c437d509e53680 Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- Pipeline on my private fork: https://gitlab.com/eskultety/libvirt/-/pipelin= es/229588144 If you want to ACK this patch, feel free to push this for me too as I won't respond much during my PTO and I'd like the pipeline to become green again. ci/containers/ci-centos-7.Dockerfile | 13 ++++++-- ci/containers/ci-centos-8.Dockerfile | 14 +++++--- ci/containers/ci-centos-stream.Dockerfile | 12 +++++-- .../ci-debian-10-cross-aarch64.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-armv6l.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-armv7l.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-i686.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-mips.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-mips64el.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-mipsel.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-ppc64le.Dockerfile | 30 ++++++++++------- .../ci-debian-10-cross-s390x.Dockerfile | 30 ++++++++++------- ci/containers/ci-debian-10.Dockerfile | 17 +++++++--- .../ci-debian-sid-cross-aarch64.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-armv6l.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-armv7l.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-i686.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-mips64el.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-mipsel.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-ppc64le.Dockerfile | 30 ++++++++++------- .../ci-debian-sid-cross-s390x.Dockerfile | 30 ++++++++++------- ci/containers/ci-debian-sid.Dockerfile | 17 +++++++--- ci/containers/ci-fedora-32.Dockerfile | 24 +++++++++++--- ci/containers/ci-fedora-33.Dockerfile | 24 +++++++++++--- ...ci-fedora-rawhide-cross-mingw32.Dockerfile | 33 +++++++++++++------ ...ci-fedora-rawhide-cross-mingw64.Dockerfile | 33 +++++++++++++------ ci/containers/ci-fedora-rawhide.Dockerfile | 26 ++++++++++++--- ci/containers/ci-opensuse-151.Dockerfile | 6 ++++ ci/containers/ci-ubuntu-1804.Dockerfile | 15 ++++++--- ci/containers/ci-ubuntu-2004.Dockerfile | 15 ++++++--- 30 files changed, 495 insertions(+), 264 deletions(-) diff --git a/ci/containers/ci-centos-7.Dockerfile b/ci/containers/ci-centos= -7.Dockerfile index d94f335c9d..39ec95ca55 100644 --- a/ci/containers/ci-centos-7.Dockerfile +++ b/ci/containers/ci-centos-7.Dockerfile @@ -1,6 +1,13 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile centos-7 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.centos.org/centos:7 =20 -RUN echo -e '[openvz]\n\ +RUN yum update -y && \ + echo 'skip_missing_names_on_install=3D0' >> /etc/yum.conf && \ + echo -e '[openvz]\n\ name=3DOpenVZ addons\n\ baseurl=3Dhttps://download.openvz.org/virtuozzo/releases/openvz-7.0.11-235= /x86_64/os/\n\ enabled=3D1\n\ @@ -31,7 +38,7 @@ WEiJKtQrZDJloqtyi/mmRa1VsV7RYR0VPJjhK/R8EQ7Ysshy\n\ -----END PGP PUBLIC KEY BLOCK-----' > /etc/pki/rpm-gpg/RPM-GPG-KEY-OpenVZ = && \ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-OpenVZ && \ yum install -y epel-release && \ - yum update -y && \ + yum install -y centos-release-xen-48 && \ yum install -y \ audit-libs-devel \ augeas \ @@ -105,10 +112,12 @@ WEiJKtQrZDJloqtyi/mmRa1VsV7RYR0VPJjhK/R8EQ7Ysshy\n\ scrub \ systemtap-sdt-devel \ wireshark-devel \ + xen-devel \ xfsprogs-devel \ yajl-devel && \ yum autoremove -y && \ yum clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-centos-8.Dockerfile b/ci/containers/ci-centos= -8.Dockerfile index 568e23af76..8f240d2a33 100644 --- a/ci/containers/ci-centos-8.Dockerfile +++ b/ci/containers/ci-centos-8.Dockerfile @@ -1,10 +1,15 @@ -FROM registry.centos.org/centos:8 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile centos-8 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/centos:8 =20 -RUN dnf install 'dnf-command(config-manager)' -y && \ - dnf config-manager --set-enabled -y PowerTools && \ +RUN dnf update -y && \ + dnf install 'dnf-command(config-manager)' -y && \ + dnf config-manager --set-enabled -y powertools && \ dnf install -y centos-release-advanced-virtualization && \ dnf install -y epel-release && \ - dnf update -y && \ dnf install -y \ audit-libs-devel \ augeas \ @@ -84,6 +89,7 @@ RUN dnf install 'dnf-command(config-manager)' -y && \ yajl-devel && \ dnf autoremove -y && \ dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-centos-stream.Dockerfile b/ci/containers/ci-c= entos-stream.Dockerfile index f1ecab837a..141b378438 100644 --- a/ci/containers/ci-centos-stream.Dockerfile +++ b/ci/containers/ci-centos-stream.Dockerfile @@ -1,11 +1,16 @@ -FROM registry.centos.org/centos:8 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile centos-stream libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/centos:8 =20 -RUN dnf install -y centos-release-stream && \ +RUN dnf update -y && \ + dnf install -y centos-release-stream && \ dnf install 'dnf-command(config-manager)' -y && \ dnf config-manager --set-enabled -y Stream-PowerTools && \ dnf install -y centos-release-advanced-virtualization && \ dnf install -y epel-release && \ - dnf update -y && \ dnf install -y \ audit-libs-devel \ augeas \ @@ -85,6 +90,7 @@ RUN dnf install -y centos-release-stream && \ yajl-devel && \ dnf autoremove -y && \ dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-debian-10-cross-aarch64.Dockerfile b/ci/conta= iners/ci-debian-10-cross-aarch64.Dockerfile index 1c755908f2..a8ec0ad135 100644 --- a/ci/containers/ci-debian-10-cross-aarch64.Dockerfile +++ b/ci/containers/ci-debian-10-cross-aarch64.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross aarch64 debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-c= c && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$= (basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture arm64 && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-aarch64-linux-gnu \ libacl1-dev:arm64 \ libapparmor-dev:arm64 \ @@ -93,8 +100,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:arm64 \ libyajl-dev:arm64 \ xfslibs-dev:arm64 && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/aarch64-linux-gnu-gcc'\n\ @@ -118,5 +125,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "aarch64-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Daarch64-linux-gnu" ENV MESON_OPTS "--cross-file=3Daarch64-linux-gnu" diff --git a/ci/containers/ci-debian-10-cross-armv6l.Dockerfile b/ci/contai= ners/ci-debian-10-cross-armv6l.Dockerfile index 327b4f7e7e..cfb1a61585 100644 --- a/ci/containers/ci-debian-10-cross-armv6l.Dockerfile +++ b/ci/containers/ci-debian-10-cross-armv6l.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross armv6l debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-c= c && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$= (basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture armel && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-arm-linux-gnueabi \ libacl1-dev:armel \ libapparmor-dev:armel \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:armel \ libyajl-dev:armel \ xfslibs-dev:armel && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/arm-linux-gnueabi-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "arm-linux-gnueabi" -ENV CONFIGURE_OPTS "--host=3Darm-linux-gnueabi" ENV MESON_OPTS "--cross-file=3Darm-linux-gnueabi" diff --git a/ci/containers/ci-debian-10-cross-armv7l.Dockerfile b/ci/contai= ners/ci-debian-10-cross-armv7l.Dockerfile index d73de0d4d2..06e2472498 100644 --- a/ci/containers/ci-debian-10-cross-armv7l.Dockerfile +++ b/ci/containers/ci-debian-10-cross-armv7l.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross armv7l debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf= -cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf= -$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture armhf && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-arm-linux-gnueabihf \ libacl1-dev:armhf \ libapparmor-dev:armhf \ @@ -93,8 +100,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:armhf \ libyajl-dev:armhf \ xfslibs-dev:armhf && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/arm-linux-gnueabihf-gcc'\n\ @@ -118,5 +125,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "arm-linux-gnueabihf" -ENV CONFIGURE_OPTS "--host=3Darm-linux-gnueabihf" ENV MESON_OPTS "--cross-file=3Darm-linux-gnueabihf" diff --git a/ci/containers/ci-debian-10-cross-i686.Dockerfile b/ci/containe= rs/ci-debian-10-cross-i686.Dockerfile index 41922b7582..27dbc1ba97 100644 --- a/ci/containers/ci-debian-10-cross-i686.Dockerfile +++ b/ci/containers/ci-debian-10-cross-i686.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross i686 debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-cc &= & \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-$(ba= sename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture i386 && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-i686-linux-gnu \ libacl1-dev:i386 \ libapparmor-dev:i386 \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:i386 \ libyajl-dev:i386 \ xfslibs-dev:i386 && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/i686-linux-gnu-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "i686-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Di686-linux-gnu" ENV MESON_OPTS "--cross-file=3Di686-linux-gnu" diff --git a/ci/containers/ci-debian-10-cross-mips.Dockerfile b/ci/containe= rs/ci-debian-10-cross-mips.Dockerfile index 369a8a7e42..596a1f9d6b 100644 --- a/ci/containers/ci-debian-10-cross-mips.Dockerfile +++ b/ci/containers/ci-debian-10-cross-mips.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mips debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips-linux-gnu-cc &= & \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips-linux-gnu-$(ba= sename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture mips && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mips-linux-gnu \ libacl1-dev:mips \ libapparmor-dev:mips \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:mips \ libyajl-dev:mips \ xfslibs-dev:mips && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/mips-linux-gnu-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "mips-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Dmips-linux-gnu" ENV MESON_OPTS "--cross-file=3Dmips-linux-gnu" diff --git a/ci/containers/ci-debian-10-cross-mips64el.Dockerfile b/ci/cont= ainers/ci-debian-10-cross-mips64el.Dockerfile index c8f6bd818f..b71619811f 100644 --- a/ci/containers/ci-debian-10-cross-mips64el.Dockerfile +++ b/ci/containers/ci-debian-10-cross-mips64el.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mips64el debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnua= bi64-cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnua= bi64-$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture mips64el && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mips64el-linux-gnuabi64 \ libacl1-dev:mips64el \ libapparmor-dev:mips64el \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:mips64el \ libyajl-dev:mips64el \ xfslibs-dev:mips64el && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/mips64el-linux-gnuabi64-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "mips64el-linux-gnuabi64" -ENV CONFIGURE_OPTS "--host=3Dmips64el-linux-gnuabi64" ENV MESON_OPTS "--cross-file=3Dmips64el-linux-gnuabi64" diff --git a/ci/containers/ci-debian-10-cross-mipsel.Dockerfile b/ci/contai= ners/ci-debian-10-cross-mipsel.Dockerfile index 81de62b44b..b45112f3bc 100644 --- a/ci/containers/ci-debian-10-cross-mipsel.Dockerfile +++ b/ci/containers/ci-debian-10-cross-mipsel.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mipsel debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-cc= && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-$(= basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture mipsel && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mipsel-linux-gnu \ libacl1-dev:mipsel \ libapparmor-dev:mipsel \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:mipsel \ libyajl-dev:mipsel \ xfslibs-dev:mipsel && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/mipsel-linux-gnu-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "mipsel-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Dmipsel-linux-gnu" ENV MESON_OPTS "--cross-file=3Dmipsel-linux-gnu" diff --git a/ci/containers/ci-debian-10-cross-ppc64le.Dockerfile b/ci/conta= iners/ci-debian-10-cross-ppc64le.Dockerfile index c4dcd63431..9b833fdd4d 100644 --- a/ci/containers/ci-debian-10-cross-ppc64le.Dockerfile +++ b/ci/containers/ci-debian-10-cross-ppc64le.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross ppc64le debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-g= nu-cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-g= nu-$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture ppc64el && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-powerpc64le-linux-gnu \ libacl1-dev:ppc64el \ libapparmor-dev:ppc64el \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:ppc64el \ libyajl-dev:ppc64el \ xfslibs-dev:ppc64el && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/powerpc64le-linux-gnu-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "powerpc64le-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Dpowerpc64le-linux-gnu" ENV MESON_OPTS "--cross-file=3Dpowerpc64le-linux-gnu" diff --git a/ci/containers/ci-debian-10-cross-s390x.Dockerfile b/ci/contain= ers/ci-debian-10-cross-s390x.Dockerfile index 9a5f8edbe5..1a324e7e08 100644 --- a/ci/containers/ci-debian-10-cross-s390x.Dockerfile +++ b/ci/containers/ci-debian-10-cross-s390x.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross s390x debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -43,20 +49,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc = && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-$(b= asename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture s390x && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-s390x-linux-gnu \ libacl1-dev:s390x \ libapparmor-dev:s390x \ @@ -92,8 +99,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:s390x \ libyajl-dev:s390x \ xfslibs-dev:s390x && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/s390x-linux-gnu-gcc'\n\ @@ -117,5 +124,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "s390x-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Ds390x-linux-gnu" ENV MESON_OPTS "--cross-file=3Ds390x-linux-gnu" diff --git a/ci/containers/ci-debian-10.Dockerfile b/ci/containers/ci-debia= n-10.Dockerfile index 9858584b03..ac8a35e175 100644 --- a/ci/containers/ci-debian-10.Dockerfile +++ b/ci/containers/ci-debian-10.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:10 +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile debian-10 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:10-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -81,10 +87,11 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ xfslibs-dev \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-debian-sid-cross-aarch64.Dockerfile b/ci/cont= ainers/ci-debian-sid-cross-aarch64.Dockerfile index dff7cb620e..c46012b5af 100644 --- a/ci/containers/ci-debian-sid-cross-aarch64.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-aarch64.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross aarch64 debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-c= c && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$= (basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture arm64 && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-aarch64-linux-gnu \ libacl1-dev:arm64 \ libapparmor-dev:arm64 \ @@ -91,8 +98,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:arm64 \ libyajl-dev:arm64 \ xfslibs-dev:arm64 && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/aarch64-linux-gnu-gcc'\n\ @@ -113,5 +120,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "aarch64-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Daarch64-linux-gnu" ENV MESON_OPTS "--cross-file=3Daarch64-linux-gnu" diff --git a/ci/containers/ci-debian-sid-cross-armv6l.Dockerfile b/ci/conta= iners/ci-debian-sid-cross-armv6l.Dockerfile index f3a168be3b..f61bfc5009 100644 --- a/ci/containers/ci-debian-sid-cross-armv6l.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-armv6l.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross armv6l debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-c= c && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$= (basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture armel && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-arm-linux-gnueabi \ libacl1-dev:armel \ libapparmor-dev:armel \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:armel \ libyajl-dev:armel \ xfslibs-dev:armel && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/arm-linux-gnueabi-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "arm-linux-gnueabi" -ENV CONFIGURE_OPTS "--host=3Darm-linux-gnueabi" ENV MESON_OPTS "--cross-file=3Darm-linux-gnueabi" diff --git a/ci/containers/ci-debian-sid-cross-armv7l.Dockerfile b/ci/conta= iners/ci-debian-sid-cross-armv7l.Dockerfile index 88f1033ed5..89e62f1ab3 100644 --- a/ci/containers/ci-debian-sid-cross-armv7l.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-armv7l.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross armv7l debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf= -cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf= -$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture armhf && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-arm-linux-gnueabihf \ libacl1-dev:armhf \ libapparmor-dev:armhf \ @@ -91,8 +98,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:armhf \ libyajl-dev:armhf \ xfslibs-dev:armhf && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/arm-linux-gnueabihf-gcc'\n\ @@ -113,5 +120,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "arm-linux-gnueabihf" -ENV CONFIGURE_OPTS "--host=3Darm-linux-gnueabihf" ENV MESON_OPTS "--cross-file=3Darm-linux-gnueabihf" diff --git a/ci/containers/ci-debian-sid-cross-i686.Dockerfile b/ci/contain= ers/ci-debian-sid-cross-i686.Dockerfile index e34c8074d9..f3c3a75119 100644 --- a/ci/containers/ci-debian-sid-cross-i686.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-i686.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross i686 debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-cc &= & \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-$(ba= sename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture i386 && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-i686-linux-gnu \ libacl1-dev:i386 \ libapparmor-dev:i386 \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:i386 \ libyajl-dev:i386 \ xfslibs-dev:i386 && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/i686-linux-gnu-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "i686-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Di686-linux-gnu" ENV MESON_OPTS "--cross-file=3Di686-linux-gnu" diff --git a/ci/containers/ci-debian-sid-cross-mips64el.Dockerfile b/ci/con= tainers/ci-debian-sid-cross-mips64el.Dockerfile index eaf1bf5641..95682c748c 100644 --- a/ci/containers/ci-debian-sid-cross-mips64el.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-mips64el.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mips64el debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnua= bi64-cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnua= bi64-$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture mips64el && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mips64el-linux-gnuabi64 \ libacl1-dev:mips64el \ libapparmor-dev:mips64el \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:mips64el \ libyajl-dev:mips64el \ xfslibs-dev:mips64el && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/mips64el-linux-gnuabi64-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "mips64el-linux-gnuabi64" -ENV CONFIGURE_OPTS "--host=3Dmips64el-linux-gnuabi64" ENV MESON_OPTS "--cross-file=3Dmips64el-linux-gnuabi64" diff --git a/ci/containers/ci-debian-sid-cross-mipsel.Dockerfile b/ci/conta= iners/ci-debian-sid-cross-mipsel.Dockerfile index 424f97315d..0ea3f0ac89 100644 --- a/ci/containers/ci-debian-sid-cross-mipsel.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-mipsel.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mipsel debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-cc= && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-$(= basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture mipsel && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mipsel-linux-gnu \ libacl1-dev:mipsel \ libapparmor-dev:mipsel \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:mipsel \ libyajl-dev:mipsel \ xfslibs-dev:mipsel && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/mipsel-linux-gnu-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "mipsel-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Dmipsel-linux-gnu" ENV MESON_OPTS "--cross-file=3Dmipsel-linux-gnu" diff --git a/ci/containers/ci-debian-sid-cross-ppc64le.Dockerfile b/ci/cont= ainers/ci-debian-sid-cross-ppc64le.Dockerfile index 311106e337..8dc93482b3 100644 --- a/ci/containers/ci-debian-sid-cross-ppc64le.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-ppc64le.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross ppc64le debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-g= nu-cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-g= nu-$(basename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture ppc64el && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-powerpc64le-linux-gnu \ libacl1-dev:ppc64el \ libapparmor-dev:ppc64el \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:ppc64el \ libyajl-dev:ppc64el \ xfslibs-dev:ppc64el && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/powerpc64le-linux-gnu-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "powerpc64le-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Dpowerpc64le-linux-gnu" ENV MESON_OPTS "--cross-file=3Dpowerpc64le-linux-gnu" diff --git a/ci/containers/ci-debian-sid-cross-s390x.Dockerfile b/ci/contai= ners/ci-debian-sid-cross-s390x.Dockerfile index ee188c0a20..d99f55e896 100644 --- a/ci/containers/ci-debian-sid-cross-s390x.Dockerfile +++ b/ci/containers/ci-debian-sid-cross-s390x.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross s390x debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -41,20 +47,21 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ scrub \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc = && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-$(b= asename /usr/bin/gcc) =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ dpkg --add-architecture s390x && \ - apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y dpkg-dev && \ - apt-get install --no-install-recommends -y \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-s390x-linux-gnu \ libacl1-dev:s390x \ libapparmor-dev:s390x \ @@ -90,8 +97,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libxml2-dev:s390x \ libyajl-dev:s390x \ xfslibs-dev:s390x && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ mkdir -p /usr/local/share/meson/cross && \ echo "[binaries]\n\ c =3D '/usr/bin/s390x-linux-gnu-gcc'\n\ @@ -112,5 +119,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "s390x-linux-gnu" -ENV CONFIGURE_OPTS "--host=3Ds390x-linux-gnu" ENV MESON_OPTS "--cross-file=3Ds390x-linux-gnu" diff --git a/ci/containers/ci-debian-sid.Dockerfile b/ci/containers/ci-debi= an-sid.Dockerfile index d914d5d6c2..e2bef48135 100644 --- a/ci/containers/ci-debian-sid.Dockerfile +++ b/ci/containers/ci-debian-sid.Dockerfile @@ -1,9 +1,15 @@ -FROM docker.io/library/debian:sid +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile debian-sid libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 +FROM docker.io/library/debian:sid-slim =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -79,10 +85,11 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ xfslibs-dev \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-fedora-32.Dockerfile b/ci/containers/ci-fedor= a-32.Dockerfile index 8be1754ac5..94bc3e1f92 100644 --- a/ci/containers/ci-fedora-32.Dockerfile +++ b/ci/containers/ci-fedora-32.Dockerfile @@ -1,7 +1,22 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile fedora-32 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.fedoraproject.org/fedora:32 =20 -RUN dnf update -y && \ - dnf install -y \ +RUN dnf install -y nosync && \ + echo -e '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y && \ + nosync dnf install -y \ audit-libs-devel \ augeas \ avahi-devel \ @@ -80,8 +95,9 @@ RUN dnf update -y && \ xfsprogs-devel \ yajl-devel \ zfs-fuse && \ - dnf autoremove -y && \ - dnf clean all -y && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-fedora-33.Dockerfile b/ci/containers/ci-fedor= a-33.Dockerfile index ef32628069..370996cd2f 100644 --- a/ci/containers/ci-fedora-33.Dockerfile +++ b/ci/containers/ci-fedora-33.Dockerfile @@ -1,7 +1,22 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile fedora-33 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.fedoraproject.org/fedora:33 =20 -RUN dnf update -y && \ - dnf install -y \ +RUN dnf install -y nosync && \ + echo -e '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y && \ + nosync dnf install -y \ audit-libs-devel \ augeas \ avahi-devel \ @@ -80,8 +95,9 @@ RUN dnf update -y && \ xfsprogs-devel \ yajl-devel \ zfs-fuse && \ - dnf autoremove -y && \ - dnf clean all -y && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile b/ci/= containers/ci-fedora-rawhide-cross-mingw32.Dockerfile index 32527e8e56..1e8a51faab 100644 --- a/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile +++ b/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile @@ -1,20 +1,33 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mingw32 fedora-rawhide libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ - dnf update -y && \ - dnf install -y \ +RUN dnf install -y nosync && \ + echo -e '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y --nogpgcheck fedora-gpg-keys && \ + nosync dnf update -y && \ + nosync dnf install -y \ augeas \ bash-completion \ ca-certificates \ ccache \ - clang \ cppi \ diffutils \ dnsmasq \ dwarves \ ebtables \ firewalld-filesystem \ - gcc \ git \ glibc-langpack-en \ iproute \ @@ -43,13 +56,14 @@ RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ scrub \ sheepdog \ zfs-fuse && \ - dnf autoremove -y && \ - dnf clean all -y && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc= && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-$(= basename /usr/bin/gcc) =20 -RUN dnf install -y \ +RUN nosync dnf install -y \ mingw32-curl \ mingw32-dbus \ mingw32-dlfcn \ @@ -63,7 +77,7 @@ RUN dnf install -y \ mingw32-pkg-config \ mingw32-portablexdr \ mingw32-readline && \ - dnf clean all -y + nosync dnf clean all -y =20 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" @@ -72,5 +86,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "i686-w64-mingw32" -ENV CONFIGURE_OPTS "--host=3Di686-w64-mingw32" ENV MESON_OPTS "--cross-file=3D/usr/share/mingw/toolchain-mingw32.meson" diff --git a/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile b/ci/= containers/ci-fedora-rawhide-cross-mingw64.Dockerfile index e82de31df9..ff7fb77a04 100644 --- a/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile +++ b/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile @@ -1,20 +1,33 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile --cross mingw64 fedora-rawhide libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ - dnf update -y && \ - dnf install -y \ +RUN dnf install -y nosync && \ + echo -e '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y --nogpgcheck fedora-gpg-keys && \ + nosync dnf update -y && \ + nosync dnf install -y \ augeas \ bash-completion \ ca-certificates \ ccache \ - clang \ cppi \ diffutils \ dnsmasq \ dwarves \ ebtables \ firewalld-filesystem \ - gcc \ git \ glibc-langpack-en \ iproute \ @@ -43,13 +56,14 @@ RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ scrub \ sheepdog \ zfs-fuse && \ - dnf autoremove -y && \ - dnf clean all -y && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-= cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-= $(basename /usr/bin/gcc) =20 -RUN dnf install -y \ +RUN nosync dnf install -y \ mingw64-curl \ mingw64-dbus \ mingw64-dlfcn \ @@ -63,7 +77,7 @@ RUN dnf install -y \ mingw64-pkg-config \ mingw64-portablexdr \ mingw64-readline && \ - dnf clean all -y + nosync dnf clean all -y =20 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" @@ -72,5 +86,4 @@ ENV PYTHON "/usr/bin/python3" ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" =20 ENV ABI "x86_64-w64-mingw32" -ENV CONFIGURE_OPTS "--host=3Dx86_64-w64-mingw32" ENV MESON_OPTS "--cross-file=3D/usr/share/mingw/toolchain-mingw64.meson" diff --git a/ci/containers/ci-fedora-rawhide.Dockerfile b/ci/containers/ci-= fedora-rawhide.Dockerfile index ee2f0fcfc1..539ee0a7c7 100644 --- a/ci/containers/ci-fedora-rawhide.Dockerfile +++ b/ci/containers/ci-fedora-rawhide.Dockerfile @@ -1,8 +1,23 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile fedora-rawhide libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ - dnf update -y && \ - dnf install -y \ +RUN dnf install -y nosync && \ + echo -e '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y --nogpgcheck fedora-gpg-keys && \ + nosync dnf update -y && \ + nosync dnf install -y \ audit-libs-devel \ augeas \ avahi-devel \ @@ -81,8 +96,9 @@ RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ xfsprogs-devel \ yajl-devel \ zfs-fuse && \ - dnf autoremove -y && \ - dnf clean all -y && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-opensuse-151.Dockerfile b/ci/containers/ci-op= ensuse-151.Dockerfile index c2d088f004..9458d2de0c 100644 --- a/ci/containers/ci-opensuse-151.Dockerfile +++ b/ci/containers/ci-opensuse-151.Dockerfile @@ -1,3 +1,8 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile opensuse-151 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM registry.opensuse.org/opensuse/leap:15.1 =20 RUN zypper update -y && \ @@ -80,6 +85,7 @@ RUN zypper update -y && \ xen-devel \ xfsprogs-devel && \ zypper clean --all && \ + rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-ubuntu-1804.Dockerfile b/ci/containers/ci-ubu= ntu-1804.Dockerfile index 3a5362e128..842412b651 100644 --- a/ci/containers/ci-ubuntu-1804.Dockerfile +++ b/ci/containers/ci-ubuntu-1804.Dockerfile @@ -1,9 +1,15 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile ubuntu-1804 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM docker.io/library/ubuntu:18.04 =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -83,10 +89,11 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ xfslibs-dev \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) diff --git a/ci/containers/ci-ubuntu-2004.Dockerfile b/ci/containers/ci-ubu= ntu-2004.Dockerfile index 41a3f5995e..de7e63b4a7 100644 --- a/ci/containers/ci-ubuntu-2004.Dockerfile +++ b/ci/containers/ci-ubuntu-2004.Dockerfile @@ -1,9 +1,15 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile ubuntu-2004 libvirt +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd2= 5c437d509e53680 FROM docker.io/library/ubuntu:20.04 =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ apt-get update && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ augeas-lenses \ augeas-tools \ bash-completion \ @@ -82,10 +88,11 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ xfslibs-dev \ xsltproc \ zfs-fuse && \ - apt-get autoremove -y && \ - apt-get autoclean -y && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ dpkg-reconfigure locales && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --sh= ow > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin= /gcc) --=20 2.26.2