From 95abbdc432133b9ae4a76d15251d64b5893717e6 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 2 Jun 2020 17:28:57 +0200 Subject: [PATCH] ci: Use GitLab container registry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of using pre-built containers hosted on Quay, build containers as part of the GitLab CI pipeline and upload them to the GitLab container registry for later use. This will not significantly slow down builds, because containers are only rebuilt when the corresponding Dockerfile has been modified. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé --- .gitlab-ci.yml | 255 +++++++++++++++++- ci/containers/README.rst | 14 + ci/containers/libvirt-centos-7.Dockerfile | 137 ++++++++++ ci/containers/libvirt-centos-8.Dockerfile | 108 ++++++++ .../libvirt-centos-stream.Dockerfile | 109 ++++++++ ...libvirt-debian-10-cross-aarch64.Dockerfile | 122 +++++++++ .../libvirt-debian-10-cross-armv6l.Dockerfile | 120 +++++++++ .../libvirt-debian-10-cross-armv7l.Dockerfile | 121 +++++++++ .../libvirt-debian-10-cross-i686.Dockerfile | 121 +++++++++ .../libvirt-debian-10-cross-mips.Dockerfile | 121 +++++++++ ...ibvirt-debian-10-cross-mips64el.Dockerfile | 121 +++++++++ .../libvirt-debian-10-cross-mipsel.Dockerfile | 121 +++++++++ ...libvirt-debian-10-cross-ppc64le.Dockerfile | 121 +++++++++ .../libvirt-debian-10-cross-s390x.Dockerfile | 121 +++++++++ ci/containers/libvirt-debian-10.Dockerfile | 112 ++++++++ .../libvirt-debian-9-cross-aarch64.Dockerfile | 126 +++++++++ .../libvirt-debian-9-cross-armv6l.Dockerfile | 124 +++++++++ .../libvirt-debian-9-cross-armv7l.Dockerfile | 125 +++++++++ .../libvirt-debian-9-cross-mips.Dockerfile | 125 +++++++++ ...libvirt-debian-9-cross-mips64el.Dockerfile | 125 +++++++++ .../libvirt-debian-9-cross-mipsel.Dockerfile | 125 +++++++++ .../libvirt-debian-9-cross-ppc64le.Dockerfile | 125 +++++++++ .../libvirt-debian-9-cross-s390x.Dockerfile | 125 +++++++++ ci/containers/libvirt-debian-9.Dockerfile | 116 ++++++++ ...ibvirt-debian-sid-cross-aarch64.Dockerfile | 122 +++++++++ ...libvirt-debian-sid-cross-armv6l.Dockerfile | 120 +++++++++ ...libvirt-debian-sid-cross-armv7l.Dockerfile | 121 +++++++++ .../libvirt-debian-sid-cross-i686.Dockerfile | 121 +++++++++ .../libvirt-debian-sid-cross-mips.Dockerfile | 121 +++++++++ ...bvirt-debian-sid-cross-mips64el.Dockerfile | 121 +++++++++ ...libvirt-debian-sid-cross-mipsel.Dockerfile | 120 +++++++++ ...ibvirt-debian-sid-cross-ppc64le.Dockerfile | 121 +++++++++ .../libvirt-debian-sid-cross-s390x.Dockerfile | 121 +++++++++ ci/containers/libvirt-debian-sid.Dockerfile | 112 ++++++++ ci/containers/libvirt-fedora-31.Dockerfile | 109 ++++++++ ci/containers/libvirt-fedora-32.Dockerfile | 109 ++++++++ ...rt-fedora-rawhide-cross-mingw32.Dockerfile | 130 +++++++++ ...rt-fedora-rawhide-cross-mingw64.Dockerfile | 130 +++++++++ .../libvirt-fedora-rawhide.Dockerfile | 110 ++++++++ ci/containers/libvirt-opensuse-151.Dockerfile | 109 ++++++++ ci/containers/libvirt-ubuntu-1804.Dockerfile | 117 ++++++++ ci/containers/libvirt-ubuntu-2004.Dockerfile | 113 ++++++++ ci/containers/refresh | 41 +++ 43 files changed, 5103 insertions(+), 5 deletions(-) create mode 100644 ci/containers/README.rst create mode 100644 ci/containers/libvirt-centos-7.Dockerfile create mode 100644 ci/containers/libvirt-centos-8.Dockerfile create mode 100644 ci/containers/libvirt-centos-stream.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-aarch64.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-armv6l.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-armv7l.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-i686.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-mips.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-mips64el.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-mipsel.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-ppc64le.Dockerfile create mode 100644 ci/containers/libvirt-debian-10-cross-s390x.Dockerfile create mode 100644 ci/containers/libvirt-debian-10.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-aarch64.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-armv6l.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-armv7l.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-mips.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-mips64el.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-mipsel.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-ppc64le.Dockerfile create mode 100644 ci/containers/libvirt-debian-9-cross-s390x.Dockerfile create mode 100644 ci/containers/libvirt-debian-9.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-aarch64.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-armv6l.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-armv7l.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-i686.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-mips.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-mips64el.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-mipsel.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-ppc64le.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid-cross-s390x.Dockerfile create mode 100644 ci/containers/libvirt-debian-sid.Dockerfile create mode 100644 ci/containers/libvirt-fedora-31.Dockerfile create mode 100644 ci/containers/libvirt-fedora-32.Dockerfile create mode 100644 ci/containers/libvirt-fedora-rawhide-cross-mingw32.Dockerfile create mode 100644 ci/containers/libvirt-fedora-rawhide-cross-mingw64.Dockerfile create mode 100644 ci/containers/libvirt-fedora-rawhide.Dockerfile create mode 100644 ci/containers/libvirt-opensuse-151.Dockerfile create mode 100644 ci/containers/libvirt-ubuntu-1804.Dockerfile create mode 100644 ci/containers/libvirt-ubuntu-2004.Dockerfile create mode 100755 ci/containers/refresh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11e106810c..0def25ff32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: stages: - sanity_checks + - containers - builds .script_variables: &script_variables | @@ -14,10 +15,43 @@ stages: # Common templates +# Containers that are necessary for the default pipeline +.container_default_job_template: &container_default_job_definition + image: docker:stable + stage: containers + services: + - docker:dind + before_script: + - export TAG="$CI_REGISTRY_IMAGE/ci-$NAME:latest" + - export COMMON_TAG="$CI_REGISTRY/libvirt/libvirt/ci-$NAME:latest" + - docker info + - docker login registry.gitlab.com -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" + script: + - docker pull "$TAG" || docker pull "$COMMON_TAG" || true + - docker build --cache-from "$TAG" --cache-from "$COMMON_TAG" --tag "$TAG" -f "ci/containers/libvirt-$NAME.Dockerfile" ci/containers + - docker push "$TAG" + after_script: + - docker logout + +# Containers that are only needed for the full pipeline +.container_extra_job_template: &container_extra_job_definition + <<: *container_default_job_definition + only: + - master + - /^ci-full-.*$/ + +# We build many containers which can be useful to debug problems but are not +# needed for the pipeline itself to complete: those sometimes fail, and when +# that happens it's mostly because of temporary issues with Debian sid. We +# don't want those failures to affect the overall pipeline status +.container_optional_job_template: &container_optional_job_definition + <<: *container_extra_job_definition + allow_failure: true + # Default native build jobs that are always run .native_build_default_job_template: &native_build_default_job_definition stage: builds - image: quay.io/libvirt/buildenv-libvirt-$NAME:latest + image: $CI_REGISTRY_IMAGE/ci-$NAME:latest cache: paths: - ccache/ @@ -65,7 +99,7 @@ stages: # Default cross build jobs that are always run .cross_build_default_job_template: &cross_build_default_job_definition stage: builds - image: quay.io/libvirt/buildenv-libvirt-$NAME-cross-$CROSS:latest + image: $CI_REGISTRY_IMAGE/ci-$NAME-cross-$CROSS:latest cache: paths: - ccache/ @@ -87,6 +121,212 @@ stages: - /^ci-full-.*$/ +# Native container build jobs + +x64-centos-7-container: + <<: *container_default_job_definition + variables: + NAME: centos-7 + +x64-centos-8-container: + <<: *container_default_job_definition + variables: + NAME: centos-8 + +x64-centos-stream-container: + <<: *container_extra_job_definition + variables: + NAME: centos-stream + +x64-debian-9-container: + <<: *container_extra_job_definition + variables: + NAME: debian-9 + +x64-debian-10-container: + <<: *container_default_job_definition + variables: + NAME: debian-10 + +x64-debian-sid-container: + <<: *container_extra_job_definition + variables: + NAME: debian-sid + +x64-fedora-31-container: + <<: *container_extra_job_definition + variables: + NAME: fedora-31 + +x64-fedora-32-container: + <<: *container_default_job_definition + variables: + NAME: fedora-32 + +x64-fedora-rawhide-container: + <<: *container_default_job_definition + variables: + NAME: fedora-rawhide + +x64-opensuse-151-container: + <<: *container_default_job_definition + variables: + NAME: opensuse-151 + +x64-ubuntu-1804-container: + <<: *container_extra_job_definition + variables: + NAME: ubuntu-1804 + +x64-ubuntu-2004-container: + <<: *container_default_job_definition + variables: + NAME: ubuntu-2004 + + +# Cross-build containers build jobs + +aarch64-debian-9-container: + <<: *container_optional_job_definition + variables: + NAME: debian-9-cross-aarch64 + +armv6l-debian-9-container: + <<: *container_extra_job_definition + variables: + NAME: debian-9-cross-armv6l + +armv7l-debian-9-container: + <<: *container_optional_job_definition + variables: + NAME: debian-9-cross-armv7l + +mips-debian-9-container: + <<: *container_extra_job_definition + variables: + NAME: debian-9-cross-mips + +mips64el-debian-9-container: + <<: *container_extra_job_definition + variables: + NAME: debian-9-cross-mips64el + +mipsel-debian-9-container: + <<: *container_optional_job_definition + variables: + NAME: debian-9-cross-mipsel + +ppc64le-debian-9-container: + <<: *container_optional_job_definition + variables: + NAME: debian-9-cross-ppc64le + +s390x-debian-9-container: + <<: *container_optional_job_definition + variables: + NAME: debian-9-cross-s390x + +aarch64-debian-10-container: + <<: *container_extra_job_definition + variables: + NAME: debian-10-cross-aarch64 + +armv6l-debian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-armv6l + +armv7-ldebian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-armv7l + +i686-debian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-i686 + +mips-debian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-mips + +mips64el-debian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-mips64el + +mipsel-debian-10-container: + <<: *container_optional_job_definition + variables: + NAME: debian-10-cross-mipsel + +ppc64le-debian-10-container: + <<: *container_extra_job_definition + variables: + NAME: debian-10-cross-ppc64le + +s390x-debian-10-container: + <<: *container_default_job_definition + variables: + NAME: debian-10-cross-s390x + +aarch64-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-aarch64 + +armv6l-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-armv6l + +armv7-ldebian-sid-container: + <<: *container_default_job_definition + variables: + NAME: debian-sid-cross-armv7l + +i686-debian-sid-container: + <<: *container_extra_job_definition + variables: + NAME: debian-sid-cross-i686 + +mips-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-mips + +mips64el-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-mips64el + +mipsel-debian-sid-container: + <<: *container_extra_job_definition + variables: + NAME: debian-sid-cross-mipsel + +ppc64le-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-ppc64le + +s390x-debian-sid-container: + <<: *container_optional_job_definition + variables: + NAME: debian-sid-cross-s390x + +mingw32-fedora-rawhide-container: + <<: *container_default_job_definition + variables: + NAME: fedora-rawhide-cross-mingw32 + +mingw64-fedora-rawhide-container: + <<: *container_default_job_definition + variables: + NAME: fedora-rawhide-cross-mingw64 + + # Native architecture build + test jobs x64-debian-9: @@ -114,6 +354,11 @@ x64-centos-8: variables: NAME: centos-8 +x64-centos-stream: + <<: *native_build_extra_job_definition + variables: + NAME: centos-stream + x64-fedora-31: <<: *native_build_extra_job_definition variables: @@ -229,6 +474,7 @@ mingw64-fedora-rawhide: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=website website: stage: builds + image: $CI_REGISTRY_IMAGE/ci-centos-8:latest before_script: - *script_variables script: @@ -239,7 +485,6 @@ website: - $MAKE -C docs install - cd .. - mv vroot/share/doc/libvirt/html/ website - image: quay.io/libvirt/buildenv-libvirt-centos-8:latest artifacts: expose_as: 'Website' name: 'website' @@ -251,6 +496,7 @@ website: codestyle: stage: builds + image: $CI_REGISTRY_IMAGE/ci-centos-8:latest before_script: - *script_variables script: @@ -258,7 +504,6 @@ codestyle: - cd build - ../autogen.sh || (cat config.log && exit 1) - $MAKE syntax-check - image: quay.io/libvirt/buildenv-libvirt-centos-8:latest # This artifact published by this job is downloaded to push to Weblate @@ -266,6 +511,7 @@ codestyle: # https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=potfile potfile: stage: builds + image: $CI_REGISTRY_IMAGE/ci-centos-8:latest only: - master before_script: @@ -278,7 +524,6 @@ potfile: - $MAKE -C po libvirt.pot - cd .. - cp po/libvirt.pot libvirt.pot - image: quay.io/libvirt/buildenv-libvirt-centos-8:latest artifacts: expose_as: 'Potfile' name: 'potfile' diff --git a/ci/containers/README.rst b/ci/containers/README.rst new file mode 100644 index 0000000000..530897e311 --- /dev/null +++ b/ci/containers/README.rst @@ -0,0 +1,14 @@ +CI job assets +============= + +This directory contains assets used in the automated CI jobs, most +notably the Dockerfiles used to build container images in which the +CI jobs then run. + +The ``refresh`` script is used to re-create the Dockerfiles using the +``lcitool`` command that is provided by repo +https://gitlab.com/libvirt/libvirt-ci + +The containers are built during the CI process and cached in the GitLab +container registry of the project doing the build. The cached containers +can be deleted at any time and will be correctly rebuilt. diff --git a/ci/containers/libvirt-centos-7.Dockerfile b/ci/containers/libvirt-centos-7.Dockerfile new file mode 100644 index 0000000000..abbbdcc47a --- /dev/null +++ b/ci/containers/libvirt-centos-7.Dockerfile @@ -0,0 +1,137 @@ +FROM centos:7 + +RUN echo -e '[openvz]\n\ +name=OpenVZ addons\n\ +baseurl=https://download.openvz.org/virtuozzo/releases/openvz-7.0.11-235/x86_64/os/\n\ +enabled=1\n\ +gpgcheck=1\n\ +skip_if_unavailable=0\n\ +metadata_expire=6h\n\ +priority=90\n\ +includepkgs=libprl*' > /etc/yum.repos.d/openvz.repo && \ + echo -e '-----BEGIN PGP PUBLIC KEY BLOCK-----\n\ +Version: GnuPG v2.0.22 (GNU/Linux)\n\ +\n\ +mI0EVl80nQEEAKrEeyeTCwrzS9kYedZ/sAc/GUqlb81C7pA9SaR3fyck5mVw1Ogk\n\ +YdmNBPM2kY7QDxR9F0EpSpnxSCAXZXugsQ8KzZ0DRLVeBDQyGs9IGK5hI0zzxIil\n\ +BzfvIexLiQQhLy7YlIi8Jt/uUqKkW0pIMNMGcduY97VATtczpncpkmSzABEBAAG0\n\ +SFZpcnR1b3p6byBUZWFtIChHUEcga2V5IHNpZ25hdHVyZSBmb3IgcGFja2FnZXMp\n\ +IDxzZWN1cml0eUB2aXJ0dW96em8uY29tPoi5BBMBAgAjBQJWXzSdAhsDBwsJCAcD\n\ +AgEGFQgCCQoLBBYCAwECHgECF4AACgkQygt9GUTNrSruIgP/er70Eyo73A1gfrjv\n\ +oPUkyo4rslVRZu3qqCwoMFtJc/Z/UxWgEka1buorlcGLa6eO/EZ49c0n+KGa4Kvt\n\ +EUboIq0yEu5i0FyAj92ifm+hNhoAbGfm0cZ4/fD0oGr3l8OsQo4+iHX4xAPwFe7Y\n\ +zABuB8I1ZDZ4OIp5tDfTTuF2LT24jQRWXzSdAQQAog2Aqb+Ptl68O7cQhWLjVGkj\n\ +yyigZrdeReLx3HloKJPBeQ/kA6uvMJc/IYS3uppMWXv9v+QenS6uhP1TUJ2k9FvM\n\ +t94MQZfALN7Vpf8AF+UeWu4Ru+y4BNzcFhrPhIFNFChOR2QqW6FkgE57D9I177NC\n\ +oJMyrlNe8wcGa178An8AEQEAAYifBBgBAgAJBQJWXzSdAhsMAAoJEMoLfRlEza0q\n\ +bKwD/3+OFVIEXnIv5XgdGRNX5fHggsUN1bb8gva7HANRlKdd4LD8foDM3F/yv/3V\n\ +igG14D5EjKz56SaBDNgiI4++hOzb2M8jhAsR86jxkXFrrP1U3ZNRKg6av9DPFAPS\n\ +WEiJKtQrZDJloqtyi/mmRa1VsV7RYR0VPJjhK/R8EQ7Ysshy\n\ +=fRMg\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 \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-common \ + glibc-devel \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + libprlsdk-devel \ + librbd1-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + python36-docutils \ + qemu-img \ + radvd \ + readline-devel \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xfsprogs-devel \ + yajl-devel && \ + yum autoremove -y && \ + yum clean all -y && \ + 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) + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja-build" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-centos-8.Dockerfile b/ci/containers/libvirt-centos-8.Dockerfile new file mode 100644 index 0000000000..b6510834de --- /dev/null +++ b/ci/containers/libvirt-centos-8.Dockerfile @@ -0,0 +1,108 @@ +FROM centos:8 + +RUN dnf install 'dnf-command(config-manager)' -y && \ + dnf config-manager --set-enabled -y PowerTools && \ + dnf install -y epel-release && \ + dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xfsprogs-devel \ + yajl-devel && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-centos-stream.Dockerfile b/ci/containers/libvirt-centos-stream.Dockerfile new file mode 100644 index 0000000000..f65580b67d --- /dev/null +++ b/ci/containers/libvirt-centos-stream.Dockerfile @@ -0,0 +1,109 @@ +FROM centos:8 + +RUN dnf install -y centos-release-stream && \ + dnf install 'dnf-command(config-manager)' -y && \ + dnf config-manager --set-enabled -y Stream-PowerTools && \ + dnf install -y epel-release && \ + dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xfsprogs-devel \ + yajl-devel && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-debian-10-cross-aarch64.Dockerfile b/ci/containers/libvirt-debian-10-cross-aarch64.Dockerfile new file mode 100644 index 0000000000..3620bbdf7f --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-aarch64.Dockerfile @@ -0,0 +1,122 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-aarch64-linux-gnu \ + libacl1-dev:arm64 \ + libapparmor-dev:arm64 \ + libattr1-dev:arm64 \ + libaudit-dev:arm64 \ + libavahi-client-dev:arm64 \ + libblkid-dev:arm64 \ + libc6-dev:arm64 \ + libcap-ng-dev:arm64 \ + libcurl4-gnutls-dev:arm64 \ + libdbus-1-dev:arm64 \ + libdevmapper-dev:arm64 \ + libfuse-dev:arm64 \ + libglib2.0-dev:arm64 \ + libglusterfs-dev:arm64 \ + libgnutls28-dev:arm64 \ + libiscsi-dev:arm64 \ + libncurses-dev:arm64 \ + libnl-3-dev:arm64 \ + libnl-route-3-dev:arm64 \ + libnuma-dev:arm64 \ + libparted-dev:arm64 \ + libpcap0.8-dev:arm64 \ + libpciaccess-dev:arm64 \ + librbd-dev:arm64 \ + libreadline-dev:arm64 \ + libsanlock-dev:arm64 \ + libsasl2-dev:arm64 \ + libselinux1-dev:arm64 \ + libssh-gcrypt-dev:arm64 \ + libssh2-1-dev:arm64 \ + libtirpc-dev:arm64 \ + libudev-dev:arm64 \ + libxen-dev:arm64 \ + libxml2-dev:arm64 \ + libyajl-dev:arm64 \ + xfslibs-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu" diff --git a/ci/containers/libvirt-debian-10-cross-armv6l.Dockerfile b/ci/containers/libvirt-debian-10-cross-armv6l.Dockerfile new file mode 100644 index 0000000000..5d390d0160 --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-armv6l.Dockerfile @@ -0,0 +1,120 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabi \ + libacl1-dev:armel \ + libapparmor-dev:armel \ + libattr1-dev:armel \ + libaudit-dev:armel \ + libavahi-client-dev:armel \ + libblkid-dev:armel \ + libc6-dev:armel \ + libcap-ng-dev:armel \ + libcurl4-gnutls-dev:armel \ + libdbus-1-dev:armel \ + libdevmapper-dev:armel \ + libfuse-dev:armel \ + libglib2.0-dev:armel \ + libglusterfs-dev:armel \ + libgnutls28-dev:armel \ + libiscsi-dev:armel \ + libncurses-dev:armel \ + libnl-3-dev:armel \ + libnl-route-3-dev:armel \ + libparted-dev:armel \ + libpcap0.8-dev:armel \ + libpciaccess-dev:armel \ + librbd-dev:armel \ + libreadline-dev:armel \ + libsanlock-dev:armel \ + libsasl2-dev:armel \ + libselinux1-dev:armel \ + libssh-gcrypt-dev:armel \ + libssh2-1-dev:armel \ + libtirpc-dev:armel \ + libudev-dev:armel \ + libxml2-dev:armel \ + libyajl-dev:armel \ + xfslibs-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi" diff --git a/ci/containers/libvirt-debian-10-cross-armv7l.Dockerfile b/ci/containers/libvirt-debian-10-cross-armv7l.Dockerfile new file mode 100644 index 0000000000..2fdbe99bff --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-armv7l.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabihf \ + libacl1-dev:armhf \ + libapparmor-dev:armhf \ + libattr1-dev:armhf \ + libaudit-dev:armhf \ + libavahi-client-dev:armhf \ + libblkid-dev:armhf \ + libc6-dev:armhf \ + libcap-ng-dev:armhf \ + libcurl4-gnutls-dev:armhf \ + libdbus-1-dev:armhf \ + libdevmapper-dev:armhf \ + libfuse-dev:armhf \ + libglib2.0-dev:armhf \ + libglusterfs-dev:armhf \ + libgnutls28-dev:armhf \ + libiscsi-dev:armhf \ + libncurses-dev:armhf \ + libnl-3-dev:armhf \ + libnl-route-3-dev:armhf \ + libparted-dev:armhf \ + libpcap0.8-dev:armhf \ + libpciaccess-dev:armhf \ + librbd-dev:armhf \ + libreadline-dev:armhf \ + libsanlock-dev:armhf \ + libsasl2-dev:armhf \ + libselinux1-dev:armhf \ + libssh-gcrypt-dev:armhf \ + libssh2-1-dev:armhf \ + libtirpc-dev:armhf \ + libudev-dev:armhf \ + libxen-dev:armhf \ + libxml2-dev:armhf \ + libyajl-dev:armhf \ + xfslibs-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf" diff --git a/ci/containers/libvirt-debian-10-cross-i686.Dockerfile b/ci/containers/libvirt-debian-10-cross-i686.Dockerfile new file mode 100644 index 0000000000..6517a4cb2e --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-i686.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-i686-linux-gnu \ + libacl1-dev:i386 \ + libapparmor-dev:i386 \ + libattr1-dev:i386 \ + libaudit-dev:i386 \ + libavahi-client-dev:i386 \ + libblkid-dev:i386 \ + libc6-dev:i386 \ + libcap-ng-dev:i386 \ + libcurl4-gnutls-dev:i386 \ + libdbus-1-dev:i386 \ + libdevmapper-dev:i386 \ + libfuse-dev:i386 \ + libglib2.0-dev:i386 \ + libglusterfs-dev:i386 \ + libgnutls28-dev:i386 \ + libiscsi-dev:i386 \ + libncurses-dev:i386 \ + libnl-3-dev:i386 \ + libnl-route-3-dev:i386 \ + libnuma-dev:i386 \ + libparted-dev:i386 \ + libpcap0.8-dev:i386 \ + libpciaccess-dev:i386 \ + librbd-dev:i386 \ + libreadline-dev:i386 \ + libsanlock-dev:i386 \ + libsasl2-dev:i386 \ + libselinux1-dev:i386 \ + libssh-gcrypt-dev:i386 \ + libssh2-1-dev:i386 \ + libtirpc-dev:i386 \ + libudev-dev:i386 \ + libxml2-dev:i386 \ + libyajl-dev:i386 \ + xfslibs-dev:i386 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "i686-linux-gnu" +ENV CONFIGURE_OPTS "--host=i686-linux-gnu" diff --git a/ci/containers/libvirt-debian-10-cross-mips.Dockerfile b/ci/containers/libvirt-debian-10-cross-mips.Dockerfile new file mode 100644 index 0000000000..48a45dbb7a --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-mips.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips-linux-gnu \ + libacl1-dev:mips \ + libapparmor-dev:mips \ + libattr1-dev:mips \ + libaudit-dev:mips \ + libavahi-client-dev:mips \ + libblkid-dev:mips \ + libc6-dev:mips \ + libcap-ng-dev:mips \ + libcurl4-gnutls-dev:mips \ + libdbus-1-dev:mips \ + libdevmapper-dev:mips \ + libfuse-dev:mips \ + libglib2.0-dev:mips \ + libglusterfs-dev:mips \ + libgnutls28-dev:mips \ + libiscsi-dev:mips \ + libncurses-dev:mips \ + libnl-3-dev:mips \ + libnl-route-3-dev:mips \ + libnuma-dev:mips \ + libparted-dev:mips \ + libpcap0.8-dev:mips \ + libpciaccess-dev:mips \ + librbd-dev:mips \ + libreadline-dev:mips \ + libsanlock-dev:mips \ + libsasl2-dev:mips \ + libselinux1-dev:mips \ + libssh-gcrypt-dev:mips \ + libssh2-1-dev:mips \ + libtirpc-dev:mips \ + libudev-dev:mips \ + libxml2-dev:mips \ + libyajl-dev:mips \ + xfslibs-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu" diff --git a/ci/containers/libvirt-debian-10-cross-mips64el.Dockerfile b/ci/containers/libvirt-debian-10-cross-mips64el.Dockerfile new file mode 100644 index 0000000000..1d997185e4 --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-mips64el.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips64el-linux-gnuabi64 \ + libacl1-dev:mips64el \ + libapparmor-dev:mips64el \ + libattr1-dev:mips64el \ + libaudit-dev:mips64el \ + libavahi-client-dev:mips64el \ + libblkid-dev:mips64el \ + libc6-dev:mips64el \ + libcap-ng-dev:mips64el \ + libcurl4-gnutls-dev:mips64el \ + libdbus-1-dev:mips64el \ + libdevmapper-dev:mips64el \ + libfuse-dev:mips64el \ + libglib2.0-dev:mips64el \ + libglusterfs-dev:mips64el \ + libgnutls28-dev:mips64el \ + libiscsi-dev:mips64el \ + libncurses-dev:mips64el \ + libnl-3-dev:mips64el \ + libnl-route-3-dev:mips64el \ + libnuma-dev:mips64el \ + libparted-dev:mips64el \ + libpcap0.8-dev:mips64el \ + libpciaccess-dev:mips64el \ + librbd-dev:mips64el \ + libreadline-dev:mips64el \ + libsanlock-dev:mips64el \ + libsasl2-dev:mips64el \ + libselinux1-dev:mips64el \ + libssh-gcrypt-dev:mips64el \ + libssh2-1-dev:mips64el \ + libtirpc-dev:mips64el \ + libudev-dev:mips64el \ + libxml2-dev:mips64el \ + libyajl-dev:mips64el \ + xfslibs-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64" diff --git a/ci/containers/libvirt-debian-10-cross-mipsel.Dockerfile b/ci/containers/libvirt-debian-10-cross-mipsel.Dockerfile new file mode 100644 index 0000000000..332f2b13ed --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-mipsel.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mipsel-linux-gnu \ + libacl1-dev:mipsel \ + libapparmor-dev:mipsel \ + libattr1-dev:mipsel \ + libaudit-dev:mipsel \ + libavahi-client-dev:mipsel \ + libblkid-dev:mipsel \ + libc6-dev:mipsel \ + libcap-ng-dev:mipsel \ + libcurl4-gnutls-dev:mipsel \ + libdbus-1-dev:mipsel \ + libdevmapper-dev:mipsel \ + libfuse-dev:mipsel \ + libglib2.0-dev:mipsel \ + libglusterfs-dev:mipsel \ + libgnutls28-dev:mipsel \ + libiscsi-dev:mipsel \ + libncurses-dev:mipsel \ + libnl-3-dev:mipsel \ + libnl-route-3-dev:mipsel \ + libnuma-dev:mipsel \ + libparted-dev:mipsel \ + libpcap0.8-dev:mipsel \ + libpciaccess-dev:mipsel \ + librbd-dev:mipsel \ + libreadline-dev:mipsel \ + libsanlock-dev:mipsel \ + libsasl2-dev:mipsel \ + libselinux1-dev:mipsel \ + libssh-gcrypt-dev:mipsel \ + libssh2-1-dev:mipsel \ + libtirpc-dev:mipsel \ + libudev-dev:mipsel \ + libxml2-dev:mipsel \ + libyajl-dev:mipsel \ + xfslibs-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu" diff --git a/ci/containers/libvirt-debian-10-cross-ppc64le.Dockerfile b/ci/containers/libvirt-debian-10-cross-ppc64le.Dockerfile new file mode 100644 index 0000000000..ec116175fc --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-ppc64le.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-powerpc64le-linux-gnu \ + libacl1-dev:ppc64el \ + libapparmor-dev:ppc64el \ + libattr1-dev:ppc64el \ + libaudit-dev:ppc64el \ + libavahi-client-dev:ppc64el \ + libblkid-dev:ppc64el \ + libc6-dev:ppc64el \ + libcap-ng-dev:ppc64el \ + libcurl4-gnutls-dev:ppc64el \ + libdbus-1-dev:ppc64el \ + libdevmapper-dev:ppc64el \ + libfuse-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libglusterfs-dev:ppc64el \ + libgnutls28-dev:ppc64el \ + libiscsi-dev:ppc64el \ + libncurses-dev:ppc64el \ + libnl-3-dev:ppc64el \ + libnl-route-3-dev:ppc64el \ + libnuma-dev:ppc64el \ + libparted-dev:ppc64el \ + libpcap0.8-dev:ppc64el \ + libpciaccess-dev:ppc64el \ + librbd-dev:ppc64el \ + libreadline-dev:ppc64el \ + libsanlock-dev:ppc64el \ + libsasl2-dev:ppc64el \ + libselinux1-dev:ppc64el \ + libssh-gcrypt-dev:ppc64el \ + libssh2-1-dev:ppc64el \ + libtirpc-dev:ppc64el \ + libudev-dev:ppc64el \ + libxml2-dev:ppc64el \ + libyajl-dev:ppc64el \ + xfslibs-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu" diff --git a/ci/containers/libvirt-debian-10-cross-s390x.Dockerfile b/ci/containers/libvirt-debian-10-cross-s390x.Dockerfile new file mode 100644 index 0000000000..b8cd02ae69 --- /dev/null +++ b/ci/containers/libvirt-debian-10-cross-s390x.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-s390x-linux-gnu \ + libacl1-dev:s390x \ + libapparmor-dev:s390x \ + libattr1-dev:s390x \ + libaudit-dev:s390x \ + libavahi-client-dev:s390x \ + libblkid-dev:s390x \ + libc6-dev:s390x \ + libcap-ng-dev:s390x \ + libcurl4-gnutls-dev:s390x \ + libdbus-1-dev:s390x \ + libdevmapper-dev:s390x \ + libfuse-dev:s390x \ + libglib2.0-dev:s390x \ + libglusterfs-dev:s390x \ + libgnutls28-dev:s390x \ + libiscsi-dev:s390x \ + libncurses-dev:s390x \ + libnl-3-dev:s390x \ + libnl-route-3-dev:s390x \ + libnuma-dev:s390x \ + libparted-dev:s390x \ + libpcap0.8-dev:s390x \ + libpciaccess-dev:s390x \ + librbd-dev:s390x \ + libreadline-dev:s390x \ + libsanlock-dev:s390x \ + libsasl2-dev:s390x \ + libselinux1-dev:s390x \ + libssh-gcrypt-dev:s390x \ + libssh2-1-dev:s390x \ + libtirpc-dev:s390x \ + libudev-dev:s390x \ + libxml2-dev:s390x \ + libyajl-dev:s390x \ + xfslibs-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu" diff --git a/ci/containers/libvirt-debian-10.Dockerfile b/ci/containers/libvirt-debian-10.Dockerfile new file mode 100644 index 0000000000..de795d386c --- /dev/null +++ b/ci/containers/libvirt-debian-10.Dockerfile @@ -0,0 +1,112 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libacl1-dev \ + libapparmor-dev \ + libattr1-dev \ + libaudit-dev \ + libavahi-client-dev \ + libblkid-dev \ + libc-dev-bin \ + libc6-dev \ + libcap-ng-dev \ + libcurl4-gnutls-dev \ + libdbus-1-dev \ + libdevmapper-dev \ + libfuse-dev \ + libglib2.0-dev \ + libglusterfs-dev \ + libgnutls28-dev \ + libiscsi-dev \ + libncurses-dev \ + libnetcf-dev \ + libnl-3-dev \ + libnl-route-3-dev \ + libnuma-dev \ + libparted-dev \ + libpcap0.8-dev \ + libpciaccess-dev \ + librbd-dev \ + libreadline-dev \ + libsanlock-dev \ + libsasl2-dev \ + libselinux1-dev \ + libssh-gcrypt-dev \ + libssh2-1-dev \ + libtirpc-dev \ + libtool \ + libtool-bin \ + libudev-dev \ + libxen-dev \ + libxml2-dev \ + libxml2-utils \ + libyajl-dev \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-dev \ + vim \ + wireshark-dev \ + xfslibs-dev \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-debian-9-cross-aarch64.Dockerfile b/ci/containers/libvirt-debian-9-cross-aarch64.Dockerfile new file mode 100644 index 0000000000..5235f6b140 --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-aarch64.Dockerfile @@ -0,0 +1,126 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-aarch64-linux-gnu \ + glusterfs-common:arm64 \ + libacl1-dev:arm64 \ + libapparmor-dev:arm64 \ + libattr1-dev:arm64 \ + libaudit-dev:arm64 \ + libavahi-client-dev:arm64 \ + libblkid-dev:arm64 \ + libc6-dev:arm64 \ + libcap-ng-dev:arm64 \ + libcurl4-gnutls-dev:arm64 \ + libdbus-1-dev:arm64 \ + libdevmapper-dev:arm64 \ + libfuse-dev:arm64 \ + libglib2.0-dev:arm64 \ + libgnutls28-dev:arm64 \ + libiscsi-dev:arm64 \ + libncurses5-dev:arm64 \ + libnl-3-dev:arm64 \ + libnl-route-3-dev:arm64 \ + libnuma-dev:arm64 \ + libparted-dev:arm64 \ + libpcap0.8-dev:arm64 \ + libpciaccess-dev:arm64 \ + librbd-dev:arm64 \ + libreadline-dev:arm64 \ + libsanlock-dev:arm64 \ + libsasl2-dev:arm64 \ + libselinux1-dev:arm64 \ + libssh-gcrypt-dev:arm64 \ + libssh2-1-dev:arm64 \ + libtirpc-dev:arm64 \ + libudev-dev:arm64 \ + libxen-dev:arm64 \ + libxml2-dev:arm64 \ + libyajl-dev:arm64 \ + xfslibs-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu" diff --git a/ci/containers/libvirt-debian-9-cross-armv6l.Dockerfile b/ci/containers/libvirt-debian-9-cross-armv6l.Dockerfile new file mode 100644 index 0000000000..1762aa4bfe --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-armv6l.Dockerfile @@ -0,0 +1,124 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabi \ + glusterfs-common:armel \ + libacl1-dev:armel \ + libapparmor-dev:armel \ + libattr1-dev:armel \ + libaudit-dev:armel \ + libavahi-client-dev:armel \ + libblkid-dev:armel \ + libc6-dev:armel \ + libcap-ng-dev:armel \ + libcurl4-gnutls-dev:armel \ + libdbus-1-dev:armel \ + libdevmapper-dev:armel \ + libfuse-dev:armel \ + libglib2.0-dev:armel \ + libgnutls28-dev:armel \ + libiscsi-dev:armel \ + libncurses5-dev:armel \ + libnl-3-dev:armel \ + libnl-route-3-dev:armel \ + libparted-dev:armel \ + libpcap0.8-dev:armel \ + libpciaccess-dev:armel \ + librbd-dev:armel \ + libreadline-dev:armel \ + libsanlock-dev:armel \ + libsasl2-dev:armel \ + libselinux1-dev:armel \ + libssh-gcrypt-dev:armel \ + libssh2-1-dev:armel \ + libtirpc-dev:armel \ + libudev-dev:armel \ + libxml2-dev:armel \ + libyajl-dev:armel \ + xfslibs-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi" diff --git a/ci/containers/libvirt-debian-9-cross-armv7l.Dockerfile b/ci/containers/libvirt-debian-9-cross-armv7l.Dockerfile new file mode 100644 index 0000000000..fb7c5c89b5 --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-armv7l.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabihf \ + glusterfs-common:armhf \ + libacl1-dev:armhf \ + libapparmor-dev:armhf \ + libattr1-dev:armhf \ + libaudit-dev:armhf \ + libavahi-client-dev:armhf \ + libblkid-dev:armhf \ + libc6-dev:armhf \ + libcap-ng-dev:armhf \ + libcurl4-gnutls-dev:armhf \ + libdbus-1-dev:armhf \ + libdevmapper-dev:armhf \ + libfuse-dev:armhf \ + libglib2.0-dev:armhf \ + libgnutls28-dev:armhf \ + libiscsi-dev:armhf \ + libncurses5-dev:armhf \ + libnl-3-dev:armhf \ + libnl-route-3-dev:armhf \ + libparted-dev:armhf \ + libpcap0.8-dev:armhf \ + libpciaccess-dev:armhf \ + librbd-dev:armhf \ + libreadline-dev:armhf \ + libsanlock-dev:armhf \ + libsasl2-dev:armhf \ + libselinux1-dev:armhf \ + libssh-gcrypt-dev:armhf \ + libssh2-1-dev:armhf \ + libtirpc-dev:armhf \ + libudev-dev:armhf \ + libxen-dev:armhf \ + libxml2-dev:armhf \ + libyajl-dev:armhf \ + xfslibs-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf" diff --git a/ci/containers/libvirt-debian-9-cross-mips.Dockerfile b/ci/containers/libvirt-debian-9-cross-mips.Dockerfile new file mode 100644 index 0000000000..4426de2d1f --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-mips.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips-linux-gnu \ + glusterfs-common:mips \ + libacl1-dev:mips \ + libapparmor-dev:mips \ + libattr1-dev:mips \ + libaudit-dev:mips \ + libavahi-client-dev:mips \ + libblkid-dev:mips \ + libc6-dev:mips \ + libcap-ng-dev:mips \ + libcurl4-gnutls-dev:mips \ + libdbus-1-dev:mips \ + libdevmapper-dev:mips \ + libfuse-dev:mips \ + libglib2.0-dev:mips \ + libgnutls28-dev:mips \ + libiscsi-dev:mips \ + libncurses5-dev:mips \ + libnl-3-dev:mips \ + libnl-route-3-dev:mips \ + libnuma-dev:mips \ + libparted-dev:mips \ + libpcap0.8-dev:mips \ + libpciaccess-dev:mips \ + librbd-dev:mips \ + libreadline-dev:mips \ + libsanlock-dev:mips \ + libsasl2-dev:mips \ + libselinux1-dev:mips \ + libssh-gcrypt-dev:mips \ + libssh2-1-dev:mips \ + libtirpc-dev:mips \ + libudev-dev:mips \ + libxml2-dev:mips \ + libyajl-dev:mips \ + xfslibs-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu" diff --git a/ci/containers/libvirt-debian-9-cross-mips64el.Dockerfile b/ci/containers/libvirt-debian-9-cross-mips64el.Dockerfile new file mode 100644 index 0000000000..bacaac8e06 --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-mips64el.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips64el-linux-gnuabi64 \ + glusterfs-common:mips64el \ + libacl1-dev:mips64el \ + libapparmor-dev:mips64el \ + libattr1-dev:mips64el \ + libaudit-dev:mips64el \ + libavahi-client-dev:mips64el \ + libblkid-dev:mips64el \ + libc6-dev:mips64el \ + libcap-ng-dev:mips64el \ + libcurl4-gnutls-dev:mips64el \ + libdbus-1-dev:mips64el \ + libdevmapper-dev:mips64el \ + libfuse-dev:mips64el \ + libglib2.0-dev:mips64el \ + libgnutls28-dev:mips64el \ + libiscsi-dev:mips64el \ + libncurses5-dev:mips64el \ + libnl-3-dev:mips64el \ + libnl-route-3-dev:mips64el \ + libnuma-dev:mips64el \ + libparted-dev:mips64el \ + libpcap0.8-dev:mips64el \ + libpciaccess-dev:mips64el \ + librbd-dev:mips64el \ + libreadline-dev:mips64el \ + libsanlock-dev:mips64el \ + libsasl2-dev:mips64el \ + libselinux1-dev:mips64el \ + libssh-gcrypt-dev:mips64el \ + libssh2-1-dev:mips64el \ + libtirpc-dev:mips64el \ + libudev-dev:mips64el \ + libxml2-dev:mips64el \ + libyajl-dev:mips64el \ + xfslibs-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64" diff --git a/ci/containers/libvirt-debian-9-cross-mipsel.Dockerfile b/ci/containers/libvirt-debian-9-cross-mipsel.Dockerfile new file mode 100644 index 0000000000..5eac3f5a25 --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-mipsel.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mipsel-linux-gnu \ + glusterfs-common:mipsel \ + libacl1-dev:mipsel \ + libapparmor-dev:mipsel \ + libattr1-dev:mipsel \ + libaudit-dev:mipsel \ + libavahi-client-dev:mipsel \ + libblkid-dev:mipsel \ + libc6-dev:mipsel \ + libcap-ng-dev:mipsel \ + libcurl4-gnutls-dev:mipsel \ + libdbus-1-dev:mipsel \ + libdevmapper-dev:mipsel \ + libfuse-dev:mipsel \ + libglib2.0-dev:mipsel \ + libgnutls28-dev:mipsel \ + libiscsi-dev:mipsel \ + libncurses5-dev:mipsel \ + libnl-3-dev:mipsel \ + libnl-route-3-dev:mipsel \ + libnuma-dev:mipsel \ + libparted-dev:mipsel \ + libpcap0.8-dev:mipsel \ + libpciaccess-dev:mipsel \ + librbd-dev:mipsel \ + libreadline-dev:mipsel \ + libsanlock-dev:mipsel \ + libsasl2-dev:mipsel \ + libselinux1-dev:mipsel \ + libssh-gcrypt-dev:mipsel \ + libssh2-1-dev:mipsel \ + libtirpc-dev:mipsel \ + libudev-dev:mipsel \ + libxml2-dev:mipsel \ + libyajl-dev:mipsel \ + xfslibs-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu" diff --git a/ci/containers/libvirt-debian-9-cross-ppc64le.Dockerfile b/ci/containers/libvirt-debian-9-cross-ppc64le.Dockerfile new file mode 100644 index 0000000000..b9749e1c50 --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-ppc64le.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-powerpc64le-linux-gnu \ + glusterfs-common:ppc64el \ + libacl1-dev:ppc64el \ + libapparmor-dev:ppc64el \ + libattr1-dev:ppc64el \ + libaudit-dev:ppc64el \ + libavahi-client-dev:ppc64el \ + libblkid-dev:ppc64el \ + libc6-dev:ppc64el \ + libcap-ng-dev:ppc64el \ + libcurl4-gnutls-dev:ppc64el \ + libdbus-1-dev:ppc64el \ + libdevmapper-dev:ppc64el \ + libfuse-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libgnutls28-dev:ppc64el \ + libiscsi-dev:ppc64el \ + libncurses5-dev:ppc64el \ + libnl-3-dev:ppc64el \ + libnl-route-3-dev:ppc64el \ + libnuma-dev:ppc64el \ + libparted-dev:ppc64el \ + libpcap0.8-dev:ppc64el \ + libpciaccess-dev:ppc64el \ + librbd-dev:ppc64el \ + libreadline-dev:ppc64el \ + libsanlock-dev:ppc64el \ + libsasl2-dev:ppc64el \ + libselinux1-dev:ppc64el \ + libssh-gcrypt-dev:ppc64el \ + libssh2-1-dev:ppc64el \ + libtirpc-dev:ppc64el \ + libudev-dev:ppc64el \ + libxml2-dev:ppc64el \ + libyajl-dev:ppc64el \ + xfslibs-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu" diff --git a/ci/containers/libvirt-debian-9-cross-s390x.Dockerfile b/ci/containers/libvirt-debian-9-cross-s390x.Dockerfile new file mode 100644 index 0000000000..7f7dd6762a --- /dev/null +++ b/ci/containers/libvirt-debian-9-cross-s390x.Dockerfile @@ -0,0 +1,125 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-s390x-linux-gnu \ + glusterfs-common:s390x \ + libacl1-dev:s390x \ + libapparmor-dev:s390x \ + libattr1-dev:s390x \ + libaudit-dev:s390x \ + libavahi-client-dev:s390x \ + libblkid-dev:s390x \ + libc6-dev:s390x \ + libcap-ng-dev:s390x \ + libcurl4-gnutls-dev:s390x \ + libdbus-1-dev:s390x \ + libdevmapper-dev:s390x \ + libfuse-dev:s390x \ + libglib2.0-dev:s390x \ + libgnutls28-dev:s390x \ + libiscsi-dev:s390x \ + libncurses5-dev:s390x \ + libnl-3-dev:s390x \ + libnl-route-3-dev:s390x \ + libnuma-dev:s390x \ + libparted-dev:s390x \ + libpcap0.8-dev:s390x \ + libpciaccess-dev:s390x \ + librbd-dev:s390x \ + libreadline-dev:s390x \ + libsanlock-dev:s390x \ + libsasl2-dev:s390x \ + libselinux1-dev:s390x \ + libssh-gcrypt-dev:s390x \ + libssh2-1-dev:s390x \ + libtirpc-dev:s390x \ + libudev-dev:s390x \ + libxml2-dev:s390x \ + libyajl-dev:s390x \ + xfslibs-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu" diff --git a/ci/containers/libvirt-debian-9.Dockerfile b/ci/containers/libvirt-debian-9.Dockerfile new file mode 100644 index 0000000000..613604aab8 --- /dev/null +++ b/ci/containers/libvirt-debian-9.Dockerfile @@ -0,0 +1,116 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + glusterfs-common \ + iproute2 \ + kmod \ + libacl1-dev \ + libapparmor-dev \ + libattr1-dev \ + libaudit-dev \ + libavahi-client-dev \ + libblkid-dev \ + libc-dev-bin \ + libc6-dev \ + libcap-ng-dev \ + libcurl4-gnutls-dev \ + libdbus-1-dev \ + libdevmapper-dev \ + libfuse-dev \ + libglib2.0-dev \ + libgnutls28-dev \ + libiscsi-dev \ + libncurses5-dev \ + libnetcf-dev \ + libnl-3-dev \ + libnl-route-3-dev \ + libnuma-dev \ + libparted-dev \ + libpcap0.8-dev \ + libpciaccess-dev \ + librbd-dev \ + libreadline-dev \ + libsanlock-dev \ + libsasl2-dev \ + libselinux1-dev \ + libssh-gcrypt-dev \ + libssh2-1-dev \ + libtirpc-dev \ + libtool \ + libtool-bin \ + libudev-dev \ + libxen-dev \ + libxml2-dev \ + libxml2-utils \ + libyajl-dev \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-dev \ + vim \ + wireshark-dev \ + xfslibs-dev \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-debian-sid-cross-aarch64.Dockerfile b/ci/containers/libvirt-debian-sid-cross-aarch64.Dockerfile new file mode 100644 index 0000000000..a5d9a1d655 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-aarch64.Dockerfile @@ -0,0 +1,122 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-aarch64-linux-gnu \ + libacl1-dev:arm64 \ + libapparmor-dev:arm64 \ + libattr1-dev:arm64 \ + libaudit-dev:arm64 \ + libavahi-client-dev:arm64 \ + libblkid-dev:arm64 \ + libc6-dev:arm64 \ + libcap-ng-dev:arm64 \ + libcurl4-gnutls-dev:arm64 \ + libdbus-1-dev:arm64 \ + libdevmapper-dev:arm64 \ + libfuse-dev:arm64 \ + libglib2.0-dev:arm64 \ + libglusterfs-dev:arm64 \ + libgnutls28-dev:arm64 \ + libiscsi-dev:arm64 \ + libncurses-dev:arm64 \ + libnl-3-dev:arm64 \ + libnl-route-3-dev:arm64 \ + libnuma-dev:arm64 \ + libparted-dev:arm64 \ + libpcap0.8-dev:arm64 \ + libpciaccess-dev:arm64 \ + librbd-dev:arm64 \ + libreadline-dev:arm64 \ + libsanlock-dev:arm64 \ + libsasl2-dev:arm64 \ + libselinux1-dev:arm64 \ + libssh-gcrypt-dev:arm64 \ + libssh2-1-dev:arm64 \ + libtirpc-dev:arm64 \ + libudev-dev:arm64 \ + libxen-dev:arm64 \ + libxml2-dev:arm64 \ + libyajl-dev:arm64 \ + xfslibs-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid-cross-armv6l.Dockerfile b/ci/containers/libvirt-debian-sid-cross-armv6l.Dockerfile new file mode 100644 index 0000000000..9af186743f --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-armv6l.Dockerfile @@ -0,0 +1,120 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabi \ + libacl1-dev:armel \ + libapparmor-dev:armel \ + libattr1-dev:armel \ + libaudit-dev:armel \ + libavahi-client-dev:armel \ + libblkid-dev:armel \ + libc6-dev:armel \ + libcap-ng-dev:armel \ + libcurl4-gnutls-dev:armel \ + libdbus-1-dev:armel \ + libdevmapper-dev:armel \ + libfuse-dev:armel \ + libglib2.0-dev:armel \ + libglusterfs-dev:armel \ + libgnutls28-dev:armel \ + libiscsi-dev:armel \ + libncurses-dev:armel \ + libnl-3-dev:armel \ + libnl-route-3-dev:armel \ + libparted-dev:armel \ + libpcap0.8-dev:armel \ + libpciaccess-dev:armel \ + librbd-dev:armel \ + libreadline-dev:armel \ + libsanlock-dev:armel \ + libsasl2-dev:armel \ + libselinux1-dev:armel \ + libssh-gcrypt-dev:armel \ + libssh2-1-dev:armel \ + libtirpc-dev:armel \ + libudev-dev:armel \ + libxml2-dev:armel \ + libyajl-dev:armel \ + xfslibs-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi" diff --git a/ci/containers/libvirt-debian-sid-cross-armv7l.Dockerfile b/ci/containers/libvirt-debian-sid-cross-armv7l.Dockerfile new file mode 100644 index 0000000000..7e00d6c320 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-armv7l.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-arm-linux-gnueabihf \ + libacl1-dev:armhf \ + libapparmor-dev:armhf \ + libattr1-dev:armhf \ + libaudit-dev:armhf \ + libavahi-client-dev:armhf \ + libblkid-dev:armhf \ + libc6-dev:armhf \ + libcap-ng-dev:armhf \ + libcurl4-gnutls-dev:armhf \ + libdbus-1-dev:armhf \ + libdevmapper-dev:armhf \ + libfuse-dev:armhf \ + libglib2.0-dev:armhf \ + libglusterfs-dev:armhf \ + libgnutls28-dev:armhf \ + libiscsi-dev:armhf \ + libncurses-dev:armhf \ + libnl-3-dev:armhf \ + libnl-route-3-dev:armhf \ + libparted-dev:armhf \ + libpcap0.8-dev:armhf \ + libpciaccess-dev:armhf \ + librbd-dev:armhf \ + libreadline-dev:armhf \ + libsanlock-dev:armhf \ + libsasl2-dev:armhf \ + libselinux1-dev:armhf \ + libssh-gcrypt-dev:armhf \ + libssh2-1-dev:armhf \ + libtirpc-dev:armhf \ + libudev-dev:armhf \ + libxen-dev:armhf \ + libxml2-dev:armhf \ + libyajl-dev:armhf \ + xfslibs-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf" diff --git a/ci/containers/libvirt-debian-sid-cross-i686.Dockerfile b/ci/containers/libvirt-debian-sid-cross-i686.Dockerfile new file mode 100644 index 0000000000..d30468e8c6 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-i686.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-i686-linux-gnu \ + libacl1-dev:i386 \ + libapparmor-dev:i386 \ + libattr1-dev:i386 \ + libaudit-dev:i386 \ + libavahi-client-dev:i386 \ + libblkid-dev:i386 \ + libc6-dev:i386 \ + libcap-ng-dev:i386 \ + libcurl4-gnutls-dev:i386 \ + libdbus-1-dev:i386 \ + libdevmapper-dev:i386 \ + libfuse-dev:i386 \ + libglib2.0-dev:i386 \ + libglusterfs-dev:i386 \ + libgnutls28-dev:i386 \ + libiscsi-dev:i386 \ + libncurses-dev:i386 \ + libnl-3-dev:i386 \ + libnl-route-3-dev:i386 \ + libnuma-dev:i386 \ + libparted-dev:i386 \ + libpcap0.8-dev:i386 \ + libpciaccess-dev:i386 \ + librbd-dev:i386 \ + libreadline-dev:i386 \ + libsanlock-dev:i386 \ + libsasl2-dev:i386 \ + libselinux1-dev:i386 \ + libssh-gcrypt-dev:i386 \ + libssh2-1-dev:i386 \ + libtirpc-dev:i386 \ + libudev-dev:i386 \ + libxml2-dev:i386 \ + libyajl-dev:i386 \ + xfslibs-dev:i386 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "i686-linux-gnu" +ENV CONFIGURE_OPTS "--host=i686-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid-cross-mips.Dockerfile b/ci/containers/libvirt-debian-sid-cross-mips.Dockerfile new file mode 100644 index 0000000000..4327b77e3b --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-mips.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips-linux-gnu \ + libacl1-dev:mips \ + libapparmor-dev:mips \ + libattr1-dev:mips \ + libaudit-dev:mips \ + libavahi-client-dev:mips \ + libblkid-dev:mips \ + libc6-dev:mips \ + libcap-ng-dev:mips \ + libcurl4-gnutls-dev:mips \ + libdbus-1-dev:mips \ + libdevmapper-dev:mips \ + libfuse-dev:mips \ + libglib2.0-dev:mips \ + libglusterfs-dev:mips \ + libgnutls28-dev:mips \ + libiscsi-dev:mips \ + libncurses-dev:mips \ + libnl-3-dev:mips \ + libnl-route-3-dev:mips \ + libnuma-dev:mips \ + libparted-dev:mips \ + libpcap0.8-dev:mips \ + libpciaccess-dev:mips \ + librbd-dev:mips \ + libreadline-dev:mips \ + libsanlock-dev:mips \ + libsasl2-dev:mips \ + libselinux1-dev:mips \ + libssh-gcrypt-dev:mips \ + libssh2-1-dev:mips \ + libtirpc-dev:mips \ + libudev-dev:mips \ + libxml2-dev:mips \ + libyajl-dev:mips \ + xfslibs-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid-cross-mips64el.Dockerfile b/ci/containers/libvirt-debian-sid-cross-mips64el.Dockerfile new file mode 100644 index 0000000000..23399cb0f5 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-mips64el.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mips64el-linux-gnuabi64 \ + libacl1-dev:mips64el \ + libapparmor-dev:mips64el \ + libattr1-dev:mips64el \ + libaudit-dev:mips64el \ + libavahi-client-dev:mips64el \ + libblkid-dev:mips64el \ + libc6-dev:mips64el \ + libcap-ng-dev:mips64el \ + libcurl4-gnutls-dev:mips64el \ + libdbus-1-dev:mips64el \ + libdevmapper-dev:mips64el \ + libfuse-dev:mips64el \ + libglib2.0-dev:mips64el \ + libglusterfs-dev:mips64el \ + libgnutls28-dev:mips64el \ + libiscsi-dev:mips64el \ + libncurses-dev:mips64el \ + libnl-3-dev:mips64el \ + libnl-route-3-dev:mips64el \ + libnuma-dev:mips64el \ + libparted-dev:mips64el \ + libpcap0.8-dev:mips64el \ + libpciaccess-dev:mips64el \ + librbd-dev:mips64el \ + libreadline-dev:mips64el \ + libsanlock-dev:mips64el \ + libsasl2-dev:mips64el \ + libselinux1-dev:mips64el \ + libssh-gcrypt-dev:mips64el \ + libssh2-1-dev:mips64el \ + libtirpc-dev:mips64el \ + libudev-dev:mips64el \ + libxml2-dev:mips64el \ + libyajl-dev:mips64el \ + xfslibs-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64" diff --git a/ci/containers/libvirt-debian-sid-cross-mipsel.Dockerfile b/ci/containers/libvirt-debian-sid-cross-mipsel.Dockerfile new file mode 100644 index 0000000000..c4f70dbace --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-mipsel.Dockerfile @@ -0,0 +1,120 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-mipsel-linux-gnu \ + libacl1-dev:mipsel \ + libapparmor-dev:mipsel \ + libattr1-dev:mipsel \ + libaudit-dev:mipsel \ + libavahi-client-dev:mipsel \ + libblkid-dev:mipsel \ + libc6-dev:mipsel \ + libcap-ng-dev:mipsel \ + libcurl4-gnutls-dev:mipsel \ + libdbus-1-dev:mipsel \ + libdevmapper-dev:mipsel \ + libfuse-dev:mipsel \ + libglib2.0-dev:mipsel \ + libglusterfs-dev:mipsel \ + libgnutls28-dev:mipsel \ + libiscsi-dev:mipsel \ + libncurses-dev:mipsel \ + libnl-3-dev:mipsel \ + libnl-route-3-dev:mipsel \ + libnuma-dev:mipsel \ + libparted-dev:mipsel \ + libpcap0.8-dev:mipsel \ + libpciaccess-dev:mipsel \ + libreadline-dev:mipsel \ + libsanlock-dev:mipsel \ + libsasl2-dev:mipsel \ + libselinux1-dev:mipsel \ + libssh-gcrypt-dev:mipsel \ + libssh2-1-dev:mipsel \ + libtirpc-dev:mipsel \ + libudev-dev:mipsel \ + libxml2-dev:mipsel \ + libyajl-dev:mipsel \ + xfslibs-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid-cross-ppc64le.Dockerfile b/ci/containers/libvirt-debian-sid-cross-ppc64le.Dockerfile new file mode 100644 index 0000000000..6c093efea8 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-ppc64le.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-powerpc64le-linux-gnu \ + libacl1-dev:ppc64el \ + libapparmor-dev:ppc64el \ + libattr1-dev:ppc64el \ + libaudit-dev:ppc64el \ + libavahi-client-dev:ppc64el \ + libblkid-dev:ppc64el \ + libc6-dev:ppc64el \ + libcap-ng-dev:ppc64el \ + libcurl4-gnutls-dev:ppc64el \ + libdbus-1-dev:ppc64el \ + libdevmapper-dev:ppc64el \ + libfuse-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libglusterfs-dev:ppc64el \ + libgnutls28-dev:ppc64el \ + libiscsi-dev:ppc64el \ + libncurses-dev:ppc64el \ + libnl-3-dev:ppc64el \ + libnl-route-3-dev:ppc64el \ + libnuma-dev:ppc64el \ + libparted-dev:ppc64el \ + libpcap0.8-dev:ppc64el \ + libpciaccess-dev:ppc64el \ + librbd-dev:ppc64el \ + libreadline-dev:ppc64el \ + libsanlock-dev:ppc64el \ + libsasl2-dev:ppc64el \ + libselinux1-dev:ppc64el \ + libssh-gcrypt-dev:ppc64el \ + libssh2-1-dev:ppc64el \ + libtirpc-dev:ppc64el \ + libudev-dev:ppc64el \ + libxml2-dev:ppc64el \ + libyajl-dev:ppc64el \ + xfslibs-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid-cross-s390x.Dockerfile b/ci/containers/libvirt-debian-sid-cross-s390x.Dockerfile new file mode 100644 index 0000000000..e536587bc7 --- /dev/null +++ b/ci/containers/libvirt-debian-sid-cross-s390x.Dockerfile @@ -0,0 +1,121 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libc-dev-bin \ + libtool \ + libtool-bin \ + libxml2-utils \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + vim \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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-$(basename /usr/bin/gcc) + +RUN export DEBIAN_FRONTEND=noninteractive && \ + 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 \ + gcc-s390x-linux-gnu \ + libacl1-dev:s390x \ + libapparmor-dev:s390x \ + libattr1-dev:s390x \ + libaudit-dev:s390x \ + libavahi-client-dev:s390x \ + libblkid-dev:s390x \ + libc6-dev:s390x \ + libcap-ng-dev:s390x \ + libcurl4-gnutls-dev:s390x \ + libdbus-1-dev:s390x \ + libdevmapper-dev:s390x \ + libfuse-dev:s390x \ + libglib2.0-dev:s390x \ + libglusterfs-dev:s390x \ + libgnutls28-dev:s390x \ + libiscsi-dev:s390x \ + libncurses-dev:s390x \ + libnl-3-dev:s390x \ + libnl-route-3-dev:s390x \ + libnuma-dev:s390x \ + libparted-dev:s390x \ + libpcap0.8-dev:s390x \ + libpciaccess-dev:s390x \ + librbd-dev:s390x \ + libreadline-dev:s390x \ + libsanlock-dev:s390x \ + libsasl2-dev:s390x \ + libselinux1-dev:s390x \ + libssh-gcrypt-dev:s390x \ + libssh2-1-dev:s390x \ + libtirpc-dev:s390x \ + libudev-dev:s390x \ + libxml2-dev:s390x \ + libyajl-dev:s390x \ + xfslibs-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu" diff --git a/ci/containers/libvirt-debian-sid.Dockerfile b/ci/containers/libvirt-debian-sid.Dockerfile new file mode 100644 index 0000000000..4e60303356 --- /dev/null +++ b/ci/containers/libvirt-debian-sid.Dockerfile @@ -0,0 +1,112 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libacl1-dev \ + libapparmor-dev \ + libattr1-dev \ + libaudit-dev \ + libavahi-client-dev \ + libblkid-dev \ + libc-dev-bin \ + libc6-dev \ + libcap-ng-dev \ + libcurl4-gnutls-dev \ + libdbus-1-dev \ + libdevmapper-dev \ + libfuse-dev \ + libglib2.0-dev \ + libglusterfs-dev \ + libgnutls28-dev \ + libiscsi-dev \ + libncurses-dev \ + libnetcf-dev \ + libnl-3-dev \ + libnl-route-3-dev \ + libnuma-dev \ + libparted-dev \ + libpcap0.8-dev \ + libpciaccess-dev \ + librbd-dev \ + libreadline-dev \ + libsanlock-dev \ + libsasl2-dev \ + libselinux1-dev \ + libssh-gcrypt-dev \ + libssh2-1-dev \ + libtirpc-dev \ + libtool \ + libtool-bin \ + libudev-dev \ + libxen-dev \ + libxml2-dev \ + libxml2-utils \ + libyajl-dev \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-dev \ + vim \ + wireshark-dev \ + xfslibs-dev \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-fedora-31.Dockerfile b/ci/containers/libvirt-fedora-31.Dockerfile new file mode 100644 index 0000000000..40288a2d03 --- /dev/null +++ b/ci/containers/libvirt-fedora-31.Dockerfile @@ -0,0 +1,109 @@ +FROM fedora:31 + +RUN dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel \ + yajl-devel \ + zfs-fuse && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-fedora-32.Dockerfile b/ci/containers/libvirt-fedora-32.Dockerfile new file mode 100644 index 0000000000..ddb6378350 --- /dev/null +++ b/ci/containers/libvirt-fedora-32.Dockerfile @@ -0,0 +1,109 @@ +FROM fedora:32 + +RUN dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel \ + yajl-devel \ + zfs-fuse && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-fedora-rawhide-cross-mingw32.Dockerfile b/ci/containers/libvirt-fedora-rawhide-cross-mingw32.Dockerfile new file mode 100644 index 0000000000..cdf61fe845 --- /dev/null +++ b/ci/containers/libvirt-fedora-rawhide-cross-mingw32.Dockerfile @@ -0,0 +1,130 @@ +FROM fedora:rawhide + +RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ + dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel \ + yajl-devel \ + zfs-fuse && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +RUN dnf install -y \ + mingw32-curl \ + mingw32-dbus \ + mingw32-dlfcn \ + mingw32-gcc \ + mingw32-gettext \ + mingw32-glib2 \ + mingw32-gnutls \ + mingw32-libssh2 \ + mingw32-libxml2 \ + mingw32-openssl \ + mingw32-pkg-config \ + mingw32-portablexdr \ + mingw32-readline && \ + dnf clean all -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "i686-w64-mingw32" +ENV CONFIGURE_OPTS "--host=i686-w64-mingw32" +ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson" diff --git a/ci/containers/libvirt-fedora-rawhide-cross-mingw64.Dockerfile b/ci/containers/libvirt-fedora-rawhide-cross-mingw64.Dockerfile new file mode 100644 index 0000000000..2b7f9eeac1 --- /dev/null +++ b/ci/containers/libvirt-fedora-rawhide-cross-mingw64.Dockerfile @@ -0,0 +1,130 @@ +FROM fedora:rawhide + +RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ + dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel \ + yajl-devel \ + zfs-fuse && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +RUN dnf install -y \ + mingw64-curl \ + mingw64-dbus \ + mingw64-dlfcn \ + mingw64-gcc \ + mingw64-gettext \ + mingw64-glib2 \ + mingw64-gnutls \ + mingw64-libssh2 \ + mingw64-libxml2 \ + mingw64-openssl \ + mingw64-pkg-config \ + mingw64-portablexdr \ + mingw64-readline && \ + dnf clean all -y + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" + +ENV ABI "x86_64-w64-mingw32" +ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32" +ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw64.meson" diff --git a/ci/containers/libvirt-fedora-rawhide.Dockerfile b/ci/containers/libvirt-fedora-rawhide.Dockerfile new file mode 100644 index 0000000000..28400a4e53 --- /dev/null +++ b/ci/containers/libvirt-fedora-rawhide.Dockerfile @@ -0,0 +1,110 @@ +FROM fedora:rawhide + +RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ + dnf update -y && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + iproute \ + iproute-tc \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + lvm2 \ + make \ + meson \ + ncurses-devel \ + net-tools \ + netcf-devel \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-setuptools \ + python3-wheel \ + qemu-img \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel \ + yajl-devel \ + zfs-fuse && \ + dnf autoremove -y && \ + dnf clean all -y && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-opensuse-151.Dockerfile b/ci/containers/libvirt-opensuse-151.Dockerfile new file mode 100644 index 0000000000..d534cdc8b8 --- /dev/null +++ b/ci/containers/libvirt-opensuse-151.Dockerfile @@ -0,0 +1,109 @@ +FROM opensuse/leap:15.1 + +RUN zypper update -y && \ + zypper install -y \ + audit-devel \ + augeas \ + augeas-lenses \ + autoconf \ + automake \ + avahi-devel \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cppi \ + cyrus-sasl-devel \ + dbus-1-devel \ + device-mapper-devel \ + dnsmasq \ + dwarves \ + ebtables \ + fuse-devel \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-locale \ + glusterfs-devel \ + iproute2 \ + kmod \ + libacl-devel \ + libapparmor-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libgnutls-devel \ + libiscsi-devel \ + libnl3-devel \ + libnuma-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libssh2-devel \ + libtirpc-devel \ + libtool \ + libudev-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + libyajl-devel \ + lsof \ + lvm2 \ + make \ + ncurses-devel \ + net-tools \ + nfs-utils \ + ninja \ + numad \ + open-iscsi \ + parted \ + parted-devel \ + patch \ + perl \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + python3-flake8 \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-tools \ + radvd \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-devel \ + vim \ + wireshark-devel \ + xen-devel \ + xfsprogs-devel && \ + zypper clean --all && \ + 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) + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-ubuntu-1804.Dockerfile b/ci/containers/libvirt-ubuntu-1804.Dockerfile new file mode 100644 index 0000000000..1818bb453d --- /dev/null +++ b/ci/containers/libvirt-ubuntu-1804.Dockerfile @@ -0,0 +1,117 @@ +FROM ubuntu:18.04 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + glusterfs-common \ + iproute2 \ + kmod \ + libacl1-dev \ + libapparmor-dev \ + libattr1-dev \ + libaudit-dev \ + libavahi-client-dev \ + libblkid-dev \ + libc-dev-bin \ + libc6-dev \ + libcap-ng-dev \ + libcurl4-gnutls-dev \ + libdbus-1-dev \ + libdevmapper-dev \ + libfuse-dev \ + libglib2.0-dev \ + libgnutls28-dev \ + libiscsi-dev \ + libncurses5-dev \ + libnetcf-dev \ + libnl-3-dev \ + libnl-route-3-dev \ + libnuma-dev \ + libopenwsman-dev \ + libparted-dev \ + libpcap0.8-dev \ + libpciaccess-dev \ + librbd-dev \ + libreadline-dev \ + libsanlock-dev \ + libsasl2-dev \ + libselinux1-dev \ + libssh-dev \ + libssh2-1-dev \ + libtirpc-dev \ + libtool \ + libtool-bin \ + libudev-dev \ + libxen-dev \ + libxml2-dev \ + libxml2-utils \ + libyajl-dev \ + locales \ + lsof \ + lvm2 \ + make \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + sheepdog \ + strace \ + sudo \ + systemtap-sdt-dev \ + vim \ + wireshark-dev \ + xfslibs-dev \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +RUN pip3 install \ + meson==0.49.0 + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/libvirt-ubuntu-2004.Dockerfile b/ci/containers/libvirt-ubuntu-2004.Dockerfile new file mode 100644 index 0000000000..98178b1591 --- /dev/null +++ b/ci/containers/libvirt-ubuntu-2004.Dockerfile @@ -0,0 +1,113 @@ +FROM ubuntu:20.04 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + augeas-lenses \ + augeas-tools \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + dnsmasq-base \ + dwarves \ + ebtables \ + flake8 \ + gcc \ + gdb \ + gettext \ + git \ + iproute2 \ + kmod \ + libacl1-dev \ + libapparmor-dev \ + libattr1-dev \ + libaudit-dev \ + libavahi-client-dev \ + libblkid-dev \ + libc-dev-bin \ + libc6-dev \ + libcap-ng-dev \ + libcurl4-gnutls-dev \ + libdbus-1-dev \ + libdevmapper-dev \ + libfuse-dev \ + libglib2.0-dev \ + libglusterfs-dev \ + libgnutls28-dev \ + libiscsi-dev \ + libncurses-dev \ + libnetcf-dev \ + libnl-3-dev \ + libnl-route-3-dev \ + libnuma-dev \ + libopenwsman-dev \ + libparted-dev \ + libpcap0.8-dev \ + libpciaccess-dev \ + librbd-dev \ + libreadline-dev \ + libsanlock-dev \ + libsasl2-dev \ + libselinux1-dev \ + libssh-dev \ + libssh2-1-dev \ + libtirpc-dev \ + libtool \ + libtool-bin \ + libudev-dev \ + libxen-dev \ + libxml2-dev \ + libxml2-utils \ + libyajl-dev \ + locales \ + lsof \ + lvm2 \ + make \ + meson \ + net-tools \ + nfs-common \ + ninja-build \ + numad \ + open-iscsi \ + parted \ + patch \ + perl \ + pkgconf \ + policykit-1 \ + python3 \ + python3-docutils \ + python3-setuptools \ + python3-wheel \ + qemu-utils \ + radvd \ + screen \ + scrub \ + strace \ + sudo \ + systemtap-sdt-dev \ + vim \ + wireshark-dev \ + xfslibs-dev \ + xsltproc \ + zfs-fuse && \ + apt-get autoremove -y && \ + apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales && \ + 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) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" diff --git a/ci/containers/refresh b/ci/containers/refresh new file mode 100755 index 0000000000..f457f3bc23 --- /dev/null +++ b/ci/containers/refresh @@ -0,0 +1,41 @@ +#!/bin/sh + +if test -z "$1" +then + echo "syntax: $0 PATH-TO-LCITOOL" + exit 1 +fi + +LCITOOL=$1 + +if ! test -x "$LCITOOL" +then + echo "$LCITOOL is not executable" + exit 1 +fi + +HOSTS=$($LCITOOL hosts | grep -v freebsd) + +for host in $HOSTS +do + case "$host" in + libvirt-fedora-rawhide) + for cross in mingw32 mingw64 + do + $LCITOOL dockerfile $host libvirt --cross $cross >$host-cross-$cross.Dockerfile + done + ;; + libvirt-debian-*) + for cross in aarch64 armv6l armv7l i686 mips mips64el mipsel ppc64le s390x + do + if test "$host" = "libvirt-debian-9" && test "$cross" = "i686" + then + continue + fi + $LCITOOL dockerfile $host libvirt --cross $cross >$host-cross-$cross.Dockerfile + done + ;; + esac + + $LCITOOL dockerfile $host libvirt >$host.Dockerfile +done