[libvirt] [dockerfiles PATCH v3 0/3] Add libosinfo Dockerfiles

This patch series aims to add libosinfo Dockerfiles to this project, so those containers can be used by libosinfo projects' gitlab CI. Please, take a look at each patch for more context of what has been done. Changes since v2: https://www.redhat.com/archives/libvir-list/2019-July/msg01934.html - Cleaned up the code in order to avoid duplication, as pointed by Andrea; - Raise an Exception in case a file doesn't match any of the existent projects, as pointed by Andrea; Changes since v1: https://www.redhat.com/archives/libvir-list/2019-July/msg01296.html - Update libosinfo Dockerfiles after having libvirt-jenkins-ci's patches related to libosinfo/osinfo-db-tools dependencies merged. Fabiano Fidêncio (3): refresh: Learn how to deal with the project's name refresh: Add libosinfo project Add Dockerfiles for libosinfo project buildenv-libosinfo-centos-7.Dockerfile | 43 +++++++++++++ ...bosinfo-debian-10-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-10-cross-i686.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-10-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...osinfo-debian-10-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-10-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-10-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-10.Dockerfile | 50 +++++++++++++++ ...ibosinfo-debian-9-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...v-libosinfo-debian-9-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-9-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-9-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-9-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-9.Dockerfile | 50 +++++++++++++++ ...osinfo-debian-sid-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-sid-cross-i686.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-sid-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...sinfo-debian-sid-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...osinfo-debian-sid-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-sid-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-sid.Dockerfile | 50 +++++++++++++++ buildenv-libosinfo-fedora-29.Dockerfile | 49 ++++++++++++++ buildenv-libosinfo-fedora-30.Dockerfile | 49 ++++++++++++++ buildenv-libosinfo-fedora-rawhide.Dockerfile | 63 ++++++++++++++++++ buildenv-libosinfo-ubuntu-16.Dockerfile | 50 +++++++++++++++ buildenv-libosinfo-ubuntu-18.Dockerfile | 50 +++++++++++++++ ...le => buildenv-libvirt-centos-7.Dockerfile | 0 ...libvirt-debian-10-cross-aarch64.Dockerfile | 0 ...-libvirt-debian-10-cross-armv6l.Dockerfile | 0 ...-libvirt-debian-10-cross-armv7l.Dockerfile | 0 ...nv-libvirt-debian-10-cross-i686.Dockerfile | 0 ...nv-libvirt-debian-10-cross-mips.Dockerfile | 0 ...ibvirt-debian-10-cross-mips64el.Dockerfile | 0 ...-libvirt-debian-10-cross-mipsel.Dockerfile | 0 ...libvirt-debian-10-cross-ppc64le.Dockerfile | 0 ...v-libvirt-debian-10-cross-s390x.Dockerfile | 0 ...e => buildenv-libvirt-debian-10.Dockerfile | 0 ...-libvirt-debian-9-cross-aarch64.Dockerfile | 0 ...v-libvirt-debian-9-cross-armv6l.Dockerfile | 0 ...v-libvirt-debian-9-cross-armv7l.Dockerfile | 0 ...env-libvirt-debian-9-cross-mips.Dockerfile | 0 ...libvirt-debian-9-cross-mips64el.Dockerfile | 0 ...v-libvirt-debian-9-cross-mipsel.Dockerfile | 0 ...-libvirt-debian-9-cross-ppc64le.Dockerfile | 0 ...nv-libvirt-debian-9-cross-s390x.Dockerfile | 0 ...le => buildenv-libvirt-debian-9.Dockerfile | 0 ...ibvirt-debian-sid-cross-aarch64.Dockerfile | 0 ...libvirt-debian-sid-cross-armv6l.Dockerfile | 0 ...libvirt-debian-sid-cross-armv7l.Dockerfile | 0 ...v-libvirt-debian-sid-cross-i686.Dockerfile | 0 ...v-libvirt-debian-sid-cross-mips.Dockerfile | 0 ...bvirt-debian-sid-cross-mips64el.Dockerfile | 0 ...libvirt-debian-sid-cross-mipsel.Dockerfile | 0 ...ibvirt-debian-sid-cross-ppc64le.Dockerfile | 0 ...-libvirt-debian-sid-cross-s390x.Dockerfile | 0 ... => buildenv-libvirt-debian-sid.Dockerfile | 0 ...e => buildenv-libvirt-fedora-29.Dockerfile | 0 ...e => buildenv-libvirt-fedora-30.Dockerfile | 0 ...buildenv-libvirt-fedora-rawhide.Dockerfile | 0 ...e => buildenv-libvirt-ubuntu-16.Dockerfile | 0 ...e => buildenv-libvirt-ubuntu-18.Dockerfile | 0 refresh | 57 +++++++++++++---- 71 files changed, 2163 insertions(+), 12 deletions(-) create mode 100644 buildenv-libosinfo-centos-7.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-i686.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-10.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-9.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-i686.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid.Dockerfile create mode 100644 buildenv-libosinfo-fedora-29.Dockerfile create mode 100644 buildenv-libosinfo-fedora-30.Dockerfile create mode 100644 buildenv-libosinfo-fedora-rawhide.Dockerfile create mode 100644 buildenv-libosinfo-ubuntu-16.Dockerfile create mode 100644 buildenv-libosinfo-ubuntu-18.Dockerfile rename buildenv-centos-7.Dockerfile => buildenv-libvirt-centos-7.Dockerfile (100%) rename buildenv-debian-10-cross-aarch64.Dockerfile => buildenv-libvirt-debian-10-cross-aarch64.Dockerfile (100%) rename buildenv-debian-10-cross-armv6l.Dockerfile => buildenv-libvirt-debian-10-cross-armv6l.Dockerfile (100%) rename buildenv-debian-10-cross-armv7l.Dockerfile => buildenv-libvirt-debian-10-cross-armv7l.Dockerfile (100%) rename buildenv-debian-10-cross-i686.Dockerfile => buildenv-libvirt-debian-10-cross-i686.Dockerfile (100%) rename buildenv-debian-10-cross-mips.Dockerfile => buildenv-libvirt-debian-10-cross-mips.Dockerfile (100%) rename buildenv-debian-10-cross-mips64el.Dockerfile => buildenv-libvirt-debian-10-cross-mips64el.Dockerfile (100%) rename buildenv-debian-10-cross-mipsel.Dockerfile => buildenv-libvirt-debian-10-cross-mipsel.Dockerfile (100%) rename buildenv-debian-10-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-10-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-10-cross-s390x.Dockerfile => buildenv-libvirt-debian-10-cross-s390x.Dockerfile (100%) rename buildenv-debian-10.Dockerfile => buildenv-libvirt-debian-10.Dockerfile (100%) rename buildenv-debian-9-cross-aarch64.Dockerfile => buildenv-libvirt-debian-9-cross-aarch64.Dockerfile (100%) rename buildenv-debian-9-cross-armv6l.Dockerfile => buildenv-libvirt-debian-9-cross-armv6l.Dockerfile (100%) rename buildenv-debian-9-cross-armv7l.Dockerfile => buildenv-libvirt-debian-9-cross-armv7l.Dockerfile (100%) rename buildenv-debian-9-cross-mips.Dockerfile => buildenv-libvirt-debian-9-cross-mips.Dockerfile (100%) rename buildenv-debian-9-cross-mips64el.Dockerfile => buildenv-libvirt-debian-9-cross-mips64el.Dockerfile (100%) rename buildenv-debian-9-cross-mipsel.Dockerfile => buildenv-libvirt-debian-9-cross-mipsel.Dockerfile (100%) rename buildenv-debian-9-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-9-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-9-cross-s390x.Dockerfile => buildenv-libvirt-debian-9-cross-s390x.Dockerfile (100%) rename buildenv-debian-9.Dockerfile => buildenv-libvirt-debian-9.Dockerfile (100%) rename buildenv-debian-sid-cross-aarch64.Dockerfile => buildenv-libvirt-debian-sid-cross-aarch64.Dockerfile (100%) rename buildenv-debian-sid-cross-armv6l.Dockerfile => buildenv-libvirt-debian-sid-cross-armv6l.Dockerfile (100%) rename buildenv-debian-sid-cross-armv7l.Dockerfile => buildenv-libvirt-debian-sid-cross-armv7l.Dockerfile (100%) rename buildenv-debian-sid-cross-i686.Dockerfile => buildenv-libvirt-debian-sid-cross-i686.Dockerfile (100%) rename buildenv-debian-sid-cross-mips.Dockerfile => buildenv-libvirt-debian-sid-cross-mips.Dockerfile (100%) rename buildenv-debian-sid-cross-mips64el.Dockerfile => buildenv-libvirt-debian-sid-cross-mips64el.Dockerfile (100%) rename buildenv-debian-sid-cross-mipsel.Dockerfile => buildenv-libvirt-debian-sid-cross-mipsel.Dockerfile (100%) rename buildenv-debian-sid-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-sid-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-sid-cross-s390x.Dockerfile => buildenv-libvirt-debian-sid-cross-s390x.Dockerfile (100%) rename buildenv-debian-sid.Dockerfile => buildenv-libvirt-debian-sid.Dockerfile (100%) rename buildenv-fedora-29.Dockerfile => buildenv-libvirt-fedora-29.Dockerfile (100%) rename buildenv-fedora-30.Dockerfile => buildenv-libvirt-fedora-30.Dockerfile (100%) rename buildenv-fedora-rawhide.Dockerfile => buildenv-libvirt-fedora-rawhide.Dockerfile (100%) rename buildenv-ubuntu-16.Dockerfile => buildenv-libvirt-ubuntu-16.Dockerfile (100%) rename buildenv-ubuntu-18.Dockerfile => buildenv-libvirt-ubuntu-18.Dockerfile (100%) -- 2.21.0

Let's change the refresh script in order to take into consideration Dockerfiles containing the project's name. This is needed in order to add different projects to libvirt-dockerfiles. An important change that deservers a mention here is that the PROJECTS variable, part of Dockerfile class, has been added as a dictionary of dictionaries as it has to store subprojects tied to a project, and each of those subprojects may or may not be subject of a mingw build (although this is not the case yet for libvirt, it may be for a other projects, osinfo-db being one of them. Together with this change, let's rename all the existent Dockerfiles to mention their projects. So, 'buildenv-centos-7.Dockerfile' has been renamed to 'buildenv-libvirt-centos-7.Dockerfile', for instance. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> --- ...le => buildenv-libvirt-centos-7.Dockerfile | 0 ...libvirt-debian-10-cross-aarch64.Dockerfile | 0 ...-libvirt-debian-10-cross-armv6l.Dockerfile | 0 ...-libvirt-debian-10-cross-armv7l.Dockerfile | 0 ...nv-libvirt-debian-10-cross-i686.Dockerfile | 0 ...nv-libvirt-debian-10-cross-mips.Dockerfile | 0 ...ibvirt-debian-10-cross-mips64el.Dockerfile | 0 ...-libvirt-debian-10-cross-mipsel.Dockerfile | 0 ...libvirt-debian-10-cross-ppc64le.Dockerfile | 0 ...v-libvirt-debian-10-cross-s390x.Dockerfile | 0 ...e => buildenv-libvirt-debian-10.Dockerfile | 0 ...-libvirt-debian-9-cross-aarch64.Dockerfile | 0 ...v-libvirt-debian-9-cross-armv6l.Dockerfile | 0 ...v-libvirt-debian-9-cross-armv7l.Dockerfile | 0 ...env-libvirt-debian-9-cross-mips.Dockerfile | 0 ...libvirt-debian-9-cross-mips64el.Dockerfile | 0 ...v-libvirt-debian-9-cross-mipsel.Dockerfile | 0 ...-libvirt-debian-9-cross-ppc64le.Dockerfile | 0 ...nv-libvirt-debian-9-cross-s390x.Dockerfile | 0 ...le => buildenv-libvirt-debian-9.Dockerfile | 0 ...ibvirt-debian-sid-cross-aarch64.Dockerfile | 0 ...libvirt-debian-sid-cross-armv6l.Dockerfile | 0 ...libvirt-debian-sid-cross-armv7l.Dockerfile | 0 ...v-libvirt-debian-sid-cross-i686.Dockerfile | 0 ...v-libvirt-debian-sid-cross-mips.Dockerfile | 0 ...bvirt-debian-sid-cross-mips64el.Dockerfile | 0 ...libvirt-debian-sid-cross-mipsel.Dockerfile | 0 ...ibvirt-debian-sid-cross-ppc64le.Dockerfile | 0 ...-libvirt-debian-sid-cross-s390x.Dockerfile | 0 ... => buildenv-libvirt-debian-sid.Dockerfile | 0 ...e => buildenv-libvirt-fedora-29.Dockerfile | 0 ...e => buildenv-libvirt-fedora-30.Dockerfile | 0 ...buildenv-libvirt-fedora-rawhide.Dockerfile | 0 ...e => buildenv-libvirt-ubuntu-16.Dockerfile | 0 ...e => buildenv-libvirt-ubuntu-18.Dockerfile | 0 refresh | 52 ++++++++++++++----- 36 files changed, 40 insertions(+), 12 deletions(-) rename buildenv-centos-7.Dockerfile => buildenv-libvirt-centos-7.Dockerfile (100%) rename buildenv-debian-10-cross-aarch64.Dockerfile => buildenv-libvirt-debian-10-cross-aarch64.Dockerfile (100%) rename buildenv-debian-10-cross-armv6l.Dockerfile => buildenv-libvirt-debian-10-cross-armv6l.Dockerfile (100%) rename buildenv-debian-10-cross-armv7l.Dockerfile => buildenv-libvirt-debian-10-cross-armv7l.Dockerfile (100%) rename buildenv-debian-10-cross-i686.Dockerfile => buildenv-libvirt-debian-10-cross-i686.Dockerfile (100%) rename buildenv-debian-10-cross-mips.Dockerfile => buildenv-libvirt-debian-10-cross-mips.Dockerfile (100%) rename buildenv-debian-10-cross-mips64el.Dockerfile => buildenv-libvirt-debian-10-cross-mips64el.Dockerfile (100%) rename buildenv-debian-10-cross-mipsel.Dockerfile => buildenv-libvirt-debian-10-cross-mipsel.Dockerfile (100%) rename buildenv-debian-10-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-10-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-10-cross-s390x.Dockerfile => buildenv-libvirt-debian-10-cross-s390x.Dockerfile (100%) rename buildenv-debian-10.Dockerfile => buildenv-libvirt-debian-10.Dockerfile (100%) rename buildenv-debian-9-cross-aarch64.Dockerfile => buildenv-libvirt-debian-9-cross-aarch64.Dockerfile (100%) rename buildenv-debian-9-cross-armv6l.Dockerfile => buildenv-libvirt-debian-9-cross-armv6l.Dockerfile (100%) rename buildenv-debian-9-cross-armv7l.Dockerfile => buildenv-libvirt-debian-9-cross-armv7l.Dockerfile (100%) rename buildenv-debian-9-cross-mips.Dockerfile => buildenv-libvirt-debian-9-cross-mips.Dockerfile (100%) rename buildenv-debian-9-cross-mips64el.Dockerfile => buildenv-libvirt-debian-9-cross-mips64el.Dockerfile (100%) rename buildenv-debian-9-cross-mipsel.Dockerfile => buildenv-libvirt-debian-9-cross-mipsel.Dockerfile (100%) rename buildenv-debian-9-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-9-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-9-cross-s390x.Dockerfile => buildenv-libvirt-debian-9-cross-s390x.Dockerfile (100%) rename buildenv-debian-9.Dockerfile => buildenv-libvirt-debian-9.Dockerfile (100%) rename buildenv-debian-sid-cross-aarch64.Dockerfile => buildenv-libvirt-debian-sid-cross-aarch64.Dockerfile (100%) rename buildenv-debian-sid-cross-armv6l.Dockerfile => buildenv-libvirt-debian-sid-cross-armv6l.Dockerfile (100%) rename buildenv-debian-sid-cross-armv7l.Dockerfile => buildenv-libvirt-debian-sid-cross-armv7l.Dockerfile (100%) rename buildenv-debian-sid-cross-i686.Dockerfile => buildenv-libvirt-debian-sid-cross-i686.Dockerfile (100%) rename buildenv-debian-sid-cross-mips.Dockerfile => buildenv-libvirt-debian-sid-cross-mips.Dockerfile (100%) rename buildenv-debian-sid-cross-mips64el.Dockerfile => buildenv-libvirt-debian-sid-cross-mips64el.Dockerfile (100%) rename buildenv-debian-sid-cross-mipsel.Dockerfile => buildenv-libvirt-debian-sid-cross-mipsel.Dockerfile (100%) rename buildenv-debian-sid-cross-ppc64le.Dockerfile => buildenv-libvirt-debian-sid-cross-ppc64le.Dockerfile (100%) rename buildenv-debian-sid-cross-s390x.Dockerfile => buildenv-libvirt-debian-sid-cross-s390x.Dockerfile (100%) rename buildenv-debian-sid.Dockerfile => buildenv-libvirt-debian-sid.Dockerfile (100%) rename buildenv-fedora-29.Dockerfile => buildenv-libvirt-fedora-29.Dockerfile (100%) rename buildenv-fedora-30.Dockerfile => buildenv-libvirt-fedora-30.Dockerfile (100%) rename buildenv-fedora-rawhide.Dockerfile => buildenv-libvirt-fedora-rawhide.Dockerfile (100%) rename buildenv-ubuntu-16.Dockerfile => buildenv-libvirt-ubuntu-16.Dockerfile (100%) rename buildenv-ubuntu-18.Dockerfile => buildenv-libvirt-ubuntu-18.Dockerfile (100%) diff --git a/buildenv-centos-7.Dockerfile b/buildenv-libvirt-centos-7.Dockerfile similarity index 100% rename from buildenv-centos-7.Dockerfile rename to buildenv-libvirt-centos-7.Dockerfile diff --git a/buildenv-debian-10-cross-aarch64.Dockerfile b/buildenv-libvirt-debian-10-cross-aarch64.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-aarch64.Dockerfile rename to buildenv-libvirt-debian-10-cross-aarch64.Dockerfile diff --git a/buildenv-debian-10-cross-armv6l.Dockerfile b/buildenv-libvirt-debian-10-cross-armv6l.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-armv6l.Dockerfile rename to buildenv-libvirt-debian-10-cross-armv6l.Dockerfile diff --git a/buildenv-debian-10-cross-armv7l.Dockerfile b/buildenv-libvirt-debian-10-cross-armv7l.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-armv7l.Dockerfile rename to buildenv-libvirt-debian-10-cross-armv7l.Dockerfile diff --git a/buildenv-debian-10-cross-i686.Dockerfile b/buildenv-libvirt-debian-10-cross-i686.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-i686.Dockerfile rename to buildenv-libvirt-debian-10-cross-i686.Dockerfile diff --git a/buildenv-debian-10-cross-mips.Dockerfile b/buildenv-libvirt-debian-10-cross-mips.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-mips.Dockerfile rename to buildenv-libvirt-debian-10-cross-mips.Dockerfile diff --git a/buildenv-debian-10-cross-mips64el.Dockerfile b/buildenv-libvirt-debian-10-cross-mips64el.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-mips64el.Dockerfile rename to buildenv-libvirt-debian-10-cross-mips64el.Dockerfile diff --git a/buildenv-debian-10-cross-mipsel.Dockerfile b/buildenv-libvirt-debian-10-cross-mipsel.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-mipsel.Dockerfile rename to buildenv-libvirt-debian-10-cross-mipsel.Dockerfile diff --git a/buildenv-debian-10-cross-ppc64le.Dockerfile b/buildenv-libvirt-debian-10-cross-ppc64le.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-ppc64le.Dockerfile rename to buildenv-libvirt-debian-10-cross-ppc64le.Dockerfile diff --git a/buildenv-debian-10-cross-s390x.Dockerfile b/buildenv-libvirt-debian-10-cross-s390x.Dockerfile similarity index 100% rename from buildenv-debian-10-cross-s390x.Dockerfile rename to buildenv-libvirt-debian-10-cross-s390x.Dockerfile diff --git a/buildenv-debian-10.Dockerfile b/buildenv-libvirt-debian-10.Dockerfile similarity index 100% rename from buildenv-debian-10.Dockerfile rename to buildenv-libvirt-debian-10.Dockerfile diff --git a/buildenv-debian-9-cross-aarch64.Dockerfile b/buildenv-libvirt-debian-9-cross-aarch64.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-aarch64.Dockerfile rename to buildenv-libvirt-debian-9-cross-aarch64.Dockerfile diff --git a/buildenv-debian-9-cross-armv6l.Dockerfile b/buildenv-libvirt-debian-9-cross-armv6l.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-armv6l.Dockerfile rename to buildenv-libvirt-debian-9-cross-armv6l.Dockerfile diff --git a/buildenv-debian-9-cross-armv7l.Dockerfile b/buildenv-libvirt-debian-9-cross-armv7l.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-armv7l.Dockerfile rename to buildenv-libvirt-debian-9-cross-armv7l.Dockerfile diff --git a/buildenv-debian-9-cross-mips.Dockerfile b/buildenv-libvirt-debian-9-cross-mips.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-mips.Dockerfile rename to buildenv-libvirt-debian-9-cross-mips.Dockerfile diff --git a/buildenv-debian-9-cross-mips64el.Dockerfile b/buildenv-libvirt-debian-9-cross-mips64el.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-mips64el.Dockerfile rename to buildenv-libvirt-debian-9-cross-mips64el.Dockerfile diff --git a/buildenv-debian-9-cross-mipsel.Dockerfile b/buildenv-libvirt-debian-9-cross-mipsel.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-mipsel.Dockerfile rename to buildenv-libvirt-debian-9-cross-mipsel.Dockerfile diff --git a/buildenv-debian-9-cross-ppc64le.Dockerfile b/buildenv-libvirt-debian-9-cross-ppc64le.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-ppc64le.Dockerfile rename to buildenv-libvirt-debian-9-cross-ppc64le.Dockerfile diff --git a/buildenv-debian-9-cross-s390x.Dockerfile b/buildenv-libvirt-debian-9-cross-s390x.Dockerfile similarity index 100% rename from buildenv-debian-9-cross-s390x.Dockerfile rename to buildenv-libvirt-debian-9-cross-s390x.Dockerfile diff --git a/buildenv-debian-9.Dockerfile b/buildenv-libvirt-debian-9.Dockerfile similarity index 100% rename from buildenv-debian-9.Dockerfile rename to buildenv-libvirt-debian-9.Dockerfile diff --git a/buildenv-debian-sid-cross-aarch64.Dockerfile b/buildenv-libvirt-debian-sid-cross-aarch64.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-aarch64.Dockerfile rename to buildenv-libvirt-debian-sid-cross-aarch64.Dockerfile diff --git a/buildenv-debian-sid-cross-armv6l.Dockerfile b/buildenv-libvirt-debian-sid-cross-armv6l.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-armv6l.Dockerfile rename to buildenv-libvirt-debian-sid-cross-armv6l.Dockerfile diff --git a/buildenv-debian-sid-cross-armv7l.Dockerfile b/buildenv-libvirt-debian-sid-cross-armv7l.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-armv7l.Dockerfile rename to buildenv-libvirt-debian-sid-cross-armv7l.Dockerfile diff --git a/buildenv-debian-sid-cross-i686.Dockerfile b/buildenv-libvirt-debian-sid-cross-i686.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-i686.Dockerfile rename to buildenv-libvirt-debian-sid-cross-i686.Dockerfile diff --git a/buildenv-debian-sid-cross-mips.Dockerfile b/buildenv-libvirt-debian-sid-cross-mips.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-mips.Dockerfile rename to buildenv-libvirt-debian-sid-cross-mips.Dockerfile diff --git a/buildenv-debian-sid-cross-mips64el.Dockerfile b/buildenv-libvirt-debian-sid-cross-mips64el.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-mips64el.Dockerfile rename to buildenv-libvirt-debian-sid-cross-mips64el.Dockerfile diff --git a/buildenv-debian-sid-cross-mipsel.Dockerfile b/buildenv-libvirt-debian-sid-cross-mipsel.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-mipsel.Dockerfile rename to buildenv-libvirt-debian-sid-cross-mipsel.Dockerfile diff --git a/buildenv-debian-sid-cross-ppc64le.Dockerfile b/buildenv-libvirt-debian-sid-cross-ppc64le.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-ppc64le.Dockerfile rename to buildenv-libvirt-debian-sid-cross-ppc64le.Dockerfile diff --git a/buildenv-debian-sid-cross-s390x.Dockerfile b/buildenv-libvirt-debian-sid-cross-s390x.Dockerfile similarity index 100% rename from buildenv-debian-sid-cross-s390x.Dockerfile rename to buildenv-libvirt-debian-sid-cross-s390x.Dockerfile diff --git a/buildenv-debian-sid.Dockerfile b/buildenv-libvirt-debian-sid.Dockerfile similarity index 100% rename from buildenv-debian-sid.Dockerfile rename to buildenv-libvirt-debian-sid.Dockerfile diff --git a/buildenv-fedora-29.Dockerfile b/buildenv-libvirt-fedora-29.Dockerfile similarity index 100% rename from buildenv-fedora-29.Dockerfile rename to buildenv-libvirt-fedora-29.Dockerfile diff --git a/buildenv-fedora-30.Dockerfile b/buildenv-libvirt-fedora-30.Dockerfile similarity index 100% rename from buildenv-fedora-30.Dockerfile rename to buildenv-libvirt-fedora-30.Dockerfile diff --git a/buildenv-fedora-rawhide.Dockerfile b/buildenv-libvirt-fedora-rawhide.Dockerfile similarity index 100% rename from buildenv-fedora-rawhide.Dockerfile rename to buildenv-libvirt-fedora-rawhide.Dockerfile diff --git a/buildenv-ubuntu-16.Dockerfile b/buildenv-libvirt-ubuntu-16.Dockerfile similarity index 100% rename from buildenv-ubuntu-16.Dockerfile rename to buildenv-libvirt-ubuntu-16.Dockerfile diff --git a/buildenv-ubuntu-18.Dockerfile b/buildenv-libvirt-ubuntu-18.Dockerfile similarity index 100% rename from buildenv-ubuntu-18.Dockerfile rename to buildenv-libvirt-ubuntu-18.Dockerfile diff --git a/refresh b/refresh index 3b33c17..20acb5e 100755 --- a/refresh +++ b/refresh @@ -31,6 +31,19 @@ class Dockerfile: CROSS = "-cross-" SUFFIX = ".Dockerfile" + # PROJECTS is a dictionary of dictionaries. + # The key is the project name, as present in the Dockerfile name and + # the value is a dictionary containing the subprojects which the + # dependencies should be installed together as the key and their value + # being whether they support mingw builds or not. + # This hack is needed till the moment libvirt-jenkins-ci treats mingw + # builds in the very same way as cross-builds are treated. + PROJECTS = { + "libvirt" : { + "libvirt" : True + }, + } + def __init__(self, path): # Files that don't end with the expected suffix can be safely @@ -44,30 +57,45 @@ class Dockerfile: self.path = path stem = path.stem[len(Dockerfile.PREFIX):] + + self.projects = [] + + for project in Dockerfile.PROJECTS: + if stem.rfind(project + "-") >= 0: + self.project_name = project + stem = stem[len(self.project_name) + 1:] + for subproject in Dockerfile.PROJECTS[project]: + self.projects += [subproject] + break + + if self.projects == []: + raise Exception("File '{}' does not have any matching " + "project.".format(path)) + cross = stem.rfind(Dockerfile.CROSS) if cross >= 0: - # If we found CROSS, then everything before it is the name of - # the OS and everything after it the name of the architecture - # we're targeting for cross-compilation + # If we found CROSS, then everything in between the project's + # name and the cross is the name of the OS and everything after + # it the name of the architecture we're targeting for + # cross-compilation self.os = stem[:cross] self.cross_arch = stem[cross + len(Dockerfile.CROSS):] else: - # Otherwise the entire stem is the name of the OS and there - # is no cross-compilation architecture + # Otherwise the name of the OS starts just after the project's + # name and there is no cross-compilation architecture self.os = stem self.cross_arch = None - self.projects = [ - "libvirt", - ] - # Fedora Rawhide is special in that we use it to perform MinGW # builds, so we need to add the corresponding projects if self.os == "fedora-rawhide": - self.projects += [ - "libvirt+mingw*", - ] + mingw_projects = [] + for subproject in self.projects: + if Dockerfile.PROJECTS[self.project_name][subproject]: + mingw_projects += [subproject + "+mingw*"] + + self.projects += mingw_projects def refresh(self, lcitool): -- 2.21.0

libosinfo Dockerfile will consist on a single container that will be able to build & test libosinfo, osinfo-db-tools, and osinfo-db. And from those "subprojects", only libosinfo and osinfo-db-tools are subject for mingw builds. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> --- refresh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/refresh b/refresh index 20acb5e..8f99042 100755 --- a/refresh +++ b/refresh @@ -42,6 +42,11 @@ class Dockerfile: "libvirt" : { "libvirt" : True }, + "libosinfo" : { + "libosinfo" : True, + "osinfo-db" : False, + "osinfo-db-tools" : True + }, } def __init__(self, path): -- 2.21.0

The corresponding libvirt-jenkins-ci commit is 81eabc6f888a3. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> --- buildenv-libosinfo-centos-7.Dockerfile | 43 +++++++++++++ ...bosinfo-debian-10-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-10-cross-i686.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-10-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...osinfo-debian-10-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-10-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-10-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-10-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-10.Dockerfile | 50 +++++++++++++++ ...ibosinfo-debian-9-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...v-libosinfo-debian-9-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-9-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-9-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-9-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...-libosinfo-debian-9-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-9.Dockerfile | 50 +++++++++++++++ ...osinfo-debian-sid-cross-aarch64.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-armv6l.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-armv7l.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-sid-cross-i686.Dockerfile | 64 +++++++++++++++++++ ...libosinfo-debian-sid-cross-mips.Dockerfile | 64 +++++++++++++++++++ ...sinfo-debian-sid-cross-mips64el.Dockerfile | 64 +++++++++++++++++++ ...bosinfo-debian-sid-cross-mipsel.Dockerfile | 64 +++++++++++++++++++ ...osinfo-debian-sid-cross-ppc64le.Dockerfile | 64 +++++++++++++++++++ ...ibosinfo-debian-sid-cross-s390x.Dockerfile | 64 +++++++++++++++++++ buildenv-libosinfo-debian-sid.Dockerfile | 50 +++++++++++++++ buildenv-libosinfo-fedora-29.Dockerfile | 49 ++++++++++++++ buildenv-libosinfo-fedora-30.Dockerfile | 49 ++++++++++++++ buildenv-libosinfo-fedora-rawhide.Dockerfile | 63 ++++++++++++++++++ buildenv-libosinfo-ubuntu-16.Dockerfile | 50 +++++++++++++++ buildenv-libosinfo-ubuntu-18.Dockerfile | 50 +++++++++++++++ 35 files changed, 2118 insertions(+) create mode 100644 buildenv-libosinfo-centos-7.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-i686.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-10-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-10.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-9-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-9.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-aarch64.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-armv6l.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-armv7l.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-i686.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mips.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mips64el.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-mipsel.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-ppc64le.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid-cross-s390x.Dockerfile create mode 100644 buildenv-libosinfo-debian-sid.Dockerfile create mode 100644 buildenv-libosinfo-fedora-29.Dockerfile create mode 100644 buildenv-libosinfo-fedora-30.Dockerfile create mode 100644 buildenv-libosinfo-fedora-rawhide.Dockerfile create mode 100644 buildenv-libosinfo-ubuntu-16.Dockerfile create mode 100644 buildenv-libosinfo-ubuntu-18.Dockerfile diff --git a/buildenv-libosinfo-centos-7.Dockerfile b/buildenv-libosinfo-centos-7.Dockerfile new file mode 100644 index 0000000..36bdf92 --- /dev/null +++ b/buildenv-libosinfo-centos-7.Dockerfile @@ -0,0 +1,43 @@ +FROM centos:centos7 + +RUN yum update -y && \ + yum install -y \ + autoconf \ + automake \ + bash \ + bash-completion \ + ca-certificates \ + check-devel \ + chrony \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + gobject-introspection-devel \ + gtk-doc \ + hwdata \ + intltool \ + json-glib-devel \ + libarchive-devel \ + libsoup-devel \ + libtool \ + libxml2 \ + libxml2-devel \ + libxslt-devel \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconfig \ + rpm-build \ + screen \ + strace \ + sudo \ + vala \ + vim && \ + yum autoremove -y && \ + yum clean all -y diff --git a/buildenv-libosinfo-debian-10-cross-aarch64.Dockerfile b/buildenv-libosinfo-debian-10-cross-aarch64.Dockerfile new file mode 100644 index 0000000..1bff202 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-aarch64.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture arm64 && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-aarch64-linux-gnu \ + libarchive-dev:arm64 \ + libc6-dev:arm64 \ + libgirepository1.0-dev:arm64 \ + libglib2.0-dev:arm64 \ + libjson-glib-dev:arm64 \ + libsoup2.4-dev:arm64 \ + libxml2-dev:arm64 \ + libxslt1-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \ + --target=aarch64-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-armv6l.Dockerfile b/buildenv-libosinfo-debian-10-cross-armv6l.Dockerfile new file mode 100644 index 0000000..3b14d9b --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-armv6l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabi \ + libarchive-dev:armel \ + libc6-dev:armel \ + libgirepository1.0-dev:armel \ + libglib2.0-dev:armel \ + libjson-glib-dev:armel \ + libsoup2.4-dev:armel \ + libxml2-dev:armel \ + libxslt1-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \ + --target=arm-linux-gnueabi" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-armv7l.Dockerfile b/buildenv-libosinfo-debian-10-cross-armv7l.Dockerfile new file mode 100644 index 0000000..2b00962 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-armv7l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armhf && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabihf \ + libarchive-dev:armhf \ + libc6-dev:armhf \ + libgirepository1.0-dev:armhf \ + libglib2.0-dev:armhf \ + libjson-glib-dev:armhf \ + libsoup2.4-dev:armhf \ + libxml2-dev:armhf \ + libxslt1-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \ + --target=arm-linux-gnueabihf" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-i686.Dockerfile b/buildenv-libosinfo-debian-10-cross-i686.Dockerfile new file mode 100644 index 0000000..cb4007e --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-i686.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture i386 && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-i686-linux-gnu \ + libarchive-dev:i386 \ + libc6-dev:i386 \ + libgirepository1.0-dev:i386 \ + libglib2.0-dev:i386 \ + libjson-glib-dev:i386 \ + libsoup2.4-dev:i386 \ + libxml2-dev:i386 \ + libxslt1-dev:i386 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "i686-linux-gnu" +ENV CONFIGURE_OPTS "--host=i686-linux-gnu \ + --target=i686-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/i386-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-mips.Dockerfile b/buildenv-libosinfo-debian-10-cross-mips.Dockerfile new file mode 100644 index 0000000..46180ff --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-mips.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips-linux-gnu \ + libarchive-dev:mips \ + libc6-dev:mips \ + libgirepository1.0-dev:mips \ + libglib2.0-dev:mips \ + libjson-glib-dev:mips \ + libsoup2.4-dev:mips \ + libxml2-dev:mips \ + libxslt1-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu \ + --target=mips-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-mips64el.Dockerfile b/buildenv-libosinfo-debian-10-cross-mips64el.Dockerfile new file mode 100644 index 0000000..f5009d5 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-mips64el.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips64el-linux-gnuabi64 \ + libarchive-dev:mips64el \ + libc6-dev:mips64el \ + libgirepository1.0-dev:mips64el \ + libglib2.0-dev:mips64el \ + libjson-glib-dev:mips64el \ + libsoup2.4-dev:mips64el \ + libxml2-dev:mips64el \ + libxslt1-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \ + --target=mips64el-linux-gnuabi64" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-mipsel.Dockerfile b/buildenv-libosinfo-debian-10-cross-mipsel.Dockerfile new file mode 100644 index 0000000..e8c27e9 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-mipsel.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mipsel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mipsel-linux-gnu \ + libarchive-dev:mipsel \ + libc6-dev:mipsel \ + libgirepository1.0-dev:mipsel \ + libglib2.0-dev:mipsel \ + libjson-glib-dev:mipsel \ + libsoup2.4-dev:mipsel \ + libxml2-dev:mipsel \ + libxslt1-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \ + --target=mipsel-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-ppc64le.Dockerfile b/buildenv-libosinfo-debian-10-cross-ppc64le.Dockerfile new file mode 100644 index 0000000..c489330 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-ppc64le.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture ppc64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-powerpc64le-linux-gnu \ + libarchive-dev:ppc64el \ + libc6-dev:ppc64el \ + libgirepository1.0-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libjson-glib-dev:ppc64el \ + libsoup2.4-dev:ppc64el \ + libxml2-dev:ppc64el \ + libxslt1-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \ + --target=powerpc64le-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10-cross-s390x.Dockerfile b/buildenv-libosinfo-debian-10-cross-s390x.Dockerfile new file mode 100644 index 0000000..2d98261 --- /dev/null +++ b/buildenv-libosinfo-debian-10-cross-s390x.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture s390x && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-s390x-linux-gnu \ + libarchive-dev:s390x \ + libc6-dev:s390x \ + libgirepository1.0-dev:s390x \ + libglib2.0-dev:s390x \ + libjson-glib-dev:s390x \ + libsoup2.4-dev:s390x \ + libxml2-dev:s390x \ + libxslt1-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \ + --target=s390x-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-10.Dockerfile b/buildenv-libosinfo-debian-10.Dockerfile new file mode 100644 index 0000000..7d5dfd9 --- /dev/null +++ b/buildenv-libosinfo-debian-10.Dockerfile @@ -0,0 +1,50 @@ +FROM debian:10 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libarchive-dev \ + libc6-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjson-glib-dev \ + libsoup2.4-dev \ + libtool \ + libtool-bin \ + libxml2-dev \ + libxml2-utils \ + libxslt1-dev \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y diff --git a/buildenv-libosinfo-debian-9-cross-aarch64.Dockerfile b/buildenv-libosinfo-debian-9-cross-aarch64.Dockerfile new file mode 100644 index 0000000..9864c8b --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-aarch64.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture arm64 && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-aarch64-linux-gnu \ + libarchive-dev:arm64 \ + libc6-dev:arm64 \ + libgirepository1.0-dev:arm64 \ + libglib2.0-dev:arm64 \ + libjson-glib-dev:arm64 \ + libsoup2.4-dev:arm64 \ + libxml2-dev:arm64 \ + libxslt1-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \ + --target=aarch64-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-armv6l.Dockerfile b/buildenv-libosinfo-debian-9-cross-armv6l.Dockerfile new file mode 100644 index 0000000..8d08b28 --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-armv6l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabi \ + libarchive-dev:armel \ + libc6-dev:armel \ + libgirepository1.0-dev:armel \ + libglib2.0-dev:armel \ + libjson-glib-dev:armel \ + libsoup2.4-dev:armel \ + libxml2-dev:armel \ + libxslt1-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \ + --target=arm-linux-gnueabi" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-armv7l.Dockerfile b/buildenv-libosinfo-debian-9-cross-armv7l.Dockerfile new file mode 100644 index 0000000..e2fd622 --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-armv7l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armhf && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabihf \ + libarchive-dev:armhf \ + libc6-dev:armhf \ + libgirepository1.0-dev:armhf \ + libglib2.0-dev:armhf \ + libjson-glib-dev:armhf \ + libsoup2.4-dev:armhf \ + libxml2-dev:armhf \ + libxslt1-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \ + --target=arm-linux-gnueabihf" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-mips.Dockerfile b/buildenv-libosinfo-debian-9-cross-mips.Dockerfile new file mode 100644 index 0000000..d30889a --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-mips.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips-linux-gnu \ + libarchive-dev:mips \ + libc6-dev:mips \ + libgirepository1.0-dev:mips \ + libglib2.0-dev:mips \ + libjson-glib-dev:mips \ + libsoup2.4-dev:mips \ + libxml2-dev:mips \ + libxslt1-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu \ + --target=mips-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-mips64el.Dockerfile b/buildenv-libosinfo-debian-9-cross-mips64el.Dockerfile new file mode 100644 index 0000000..bc7cc6c --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-mips64el.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips64el-linux-gnuabi64 \ + libarchive-dev:mips64el \ + libc6-dev:mips64el \ + libgirepository1.0-dev:mips64el \ + libglib2.0-dev:mips64el \ + libjson-glib-dev:mips64el \ + libsoup2.4-dev:mips64el \ + libxml2-dev:mips64el \ + libxslt1-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \ + --target=mips64el-linux-gnuabi64" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-mipsel.Dockerfile b/buildenv-libosinfo-debian-9-cross-mipsel.Dockerfile new file mode 100644 index 0000000..f54789c --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-mipsel.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mipsel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mipsel-linux-gnu \ + libarchive-dev:mipsel \ + libc6-dev:mipsel \ + libgirepository1.0-dev:mipsel \ + libglib2.0-dev:mipsel \ + libjson-glib-dev:mipsel \ + libsoup2.4-dev:mipsel \ + libxml2-dev:mipsel \ + libxslt1-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \ + --target=mipsel-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-ppc64le.Dockerfile b/buildenv-libosinfo-debian-9-cross-ppc64le.Dockerfile new file mode 100644 index 0000000..8f1ee44 --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-ppc64le.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture ppc64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-powerpc64le-linux-gnu \ + libarchive-dev:ppc64el \ + libc6-dev:ppc64el \ + libgirepository1.0-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libjson-glib-dev:ppc64el \ + libsoup2.4-dev:ppc64el \ + libxml2-dev:ppc64el \ + libxslt1-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \ + --target=powerpc64le-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-9-cross-s390x.Dockerfile b/buildenv-libosinfo-debian-9-cross-s390x.Dockerfile new file mode 100644 index 0000000..9732c70 --- /dev/null +++ b/buildenv-libosinfo-debian-9-cross-s390x.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture s390x && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-s390x-linux-gnu \ + libarchive-dev:s390x \ + libc6-dev:s390x \ + libgirepository1.0-dev:s390x \ + libglib2.0-dev:s390x \ + libjson-glib-dev:s390x \ + libsoup2.4-dev:s390x \ + libxml2-dev:s390x \ + libxslt1-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \ + --target=s390x-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-9.Dockerfile b/buildenv-libosinfo-debian-9.Dockerfile new file mode 100644 index 0000000..0a66494 --- /dev/null +++ b/buildenv-libosinfo-debian-9.Dockerfile @@ -0,0 +1,50 @@ +FROM debian:9 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libarchive-dev \ + libc6-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjson-glib-dev \ + libsoup2.4-dev \ + libtool \ + libtool-bin \ + libxml2-dev \ + libxml2-utils \ + libxslt1-dev \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y diff --git a/buildenv-libosinfo-debian-sid-cross-aarch64.Dockerfile b/buildenv-libosinfo-debian-sid-cross-aarch64.Dockerfile new file mode 100644 index 0000000..aec41c1 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-aarch64.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture arm64 && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-aarch64-linux-gnu \ + libarchive-dev:arm64 \ + libc6-dev:arm64 \ + libgirepository1.0-dev:arm64 \ + libglib2.0-dev:arm64 \ + libjson-glib-dev:arm64 \ + libsoup2.4-dev:arm64 \ + libxml2-dev:arm64 \ + libxslt1-dev:arm64 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "aarch64-linux-gnu" +ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \ + --target=aarch64-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-armv6l.Dockerfile b/buildenv-libosinfo-debian-sid-cross-armv6l.Dockerfile new file mode 100644 index 0000000..30f60ba --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-armv6l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabi \ + libarchive-dev:armel \ + libc6-dev:armel \ + libgirepository1.0-dev:armel \ + libglib2.0-dev:armel \ + libjson-glib-dev:armel \ + libsoup2.4-dev:armel \ + libxml2-dev:armel \ + libxslt1-dev:armel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabi" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \ + --target=arm-linux-gnueabi" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-armv7l.Dockerfile b/buildenv-libosinfo-debian-sid-cross-armv7l.Dockerfile new file mode 100644 index 0000000..e3d253c --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-armv7l.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture armhf && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-arm-linux-gnueabihf \ + libarchive-dev:armhf \ + libc6-dev:armhf \ + libgirepository1.0-dev:armhf \ + libglib2.0-dev:armhf \ + libjson-glib-dev:armhf \ + libsoup2.4-dev:armhf \ + libxml2-dev:armhf \ + libxslt1-dev:armhf && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "arm-linux-gnueabihf" +ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \ + --target=arm-linux-gnueabihf" +ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-i686.Dockerfile b/buildenv-libosinfo-debian-sid-cross-i686.Dockerfile new file mode 100644 index 0000000..3101d79 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-i686.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture i386 && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-i686-linux-gnu \ + libarchive-dev:i386 \ + libc6-dev:i386 \ + libgirepository1.0-dev:i386 \ + libglib2.0-dev:i386 \ + libjson-glib-dev:i386 \ + libsoup2.4-dev:i386 \ + libxml2-dev:i386 \ + libxslt1-dev:i386 && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "i686-linux-gnu" +ENV CONFIGURE_OPTS "--host=i686-linux-gnu \ + --target=i686-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/i386-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-mips.Dockerfile b/buildenv-libosinfo-debian-sid-cross-mips.Dockerfile new file mode 100644 index 0000000..7708baf --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-mips.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips-linux-gnu \ + libarchive-dev:mips \ + libc6-dev:mips \ + libgirepository1.0-dev:mips \ + libglib2.0-dev:mips \ + libjson-glib-dev:mips \ + libsoup2.4-dev:mips \ + libxml2-dev:mips \ + libxslt1-dev:mips && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips-linux-gnu" +ENV CONFIGURE_OPTS "--host=mips-linux-gnu \ + --target=mips-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-mips64el.Dockerfile b/buildenv-libosinfo-debian-sid-cross-mips64el.Dockerfile new file mode 100644 index 0000000..e487c33 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-mips64el.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mips64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mips64el-linux-gnuabi64 \ + libarchive-dev:mips64el \ + libc6-dev:mips64el \ + libgirepository1.0-dev:mips64el \ + libglib2.0-dev:mips64el \ + libjson-glib-dev:mips64el \ + libsoup2.4-dev:mips64el \ + libxml2-dev:mips64el \ + libxslt1-dev:mips64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mips64el-linux-gnuabi64" +ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \ + --target=mips64el-linux-gnuabi64" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-mipsel.Dockerfile b/buildenv-libosinfo-debian-sid-cross-mipsel.Dockerfile new file mode 100644 index 0000000..04d1451 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-mipsel.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture mipsel && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-mipsel-linux-gnu \ + libarchive-dev:mipsel \ + libc6-dev:mipsel \ + libgirepository1.0-dev:mipsel \ + libglib2.0-dev:mipsel \ + libjson-glib-dev:mipsel \ + libsoup2.4-dev:mipsel \ + libxml2-dev:mipsel \ + libxslt1-dev:mipsel && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "mipsel-linux-gnu" +ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \ + --target=mipsel-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-ppc64le.Dockerfile b/buildenv-libosinfo-debian-sid-cross-ppc64le.Dockerfile new file mode 100644 index 0000000..c9007b7 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-ppc64le.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture ppc64el && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-powerpc64le-linux-gnu \ + libarchive-dev:ppc64el \ + libc6-dev:ppc64el \ + libgirepository1.0-dev:ppc64el \ + libglib2.0-dev:ppc64el \ + libjson-glib-dev:ppc64el \ + libsoup2.4-dev:ppc64el \ + libxml2-dev:ppc64el \ + libxslt1-dev:ppc64el && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "powerpc64le-linux-gnu" +ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \ + --target=powerpc64le-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid-cross-s390x.Dockerfile b/buildenv-libosinfo-debian-sid-cross-s390x.Dockerfile new file mode 100644 index 0000000..dec0428 --- /dev/null +++ b/buildenv-libosinfo-debian-sid-cross-s390x.Dockerfile @@ -0,0 +1,64 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libtool \ + libtool-bin \ + libxml2-utils \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture s390x && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + gcc-s390x-linux-gnu \ + libarchive-dev:s390x \ + libc6-dev:s390x \ + libgirepository1.0-dev:s390x \ + libglib2.0-dev:s390x \ + libjson-glib-dev:s390x \ + libsoup2.4-dev:s390x \ + libxml2-dev:s390x \ + libxslt1-dev:s390x && \ + apt-get autoremove -y && \ + apt-get autoclean -y + +ENV ABI "s390x-linux-gnu" +ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \ + --target=s390x-linux-gnu" +ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig" diff --git a/buildenv-libosinfo-debian-sid.Dockerfile b/buildenv-libosinfo-debian-sid.Dockerfile new file mode 100644 index 0000000..6801519 --- /dev/null +++ b/buildenv-libosinfo-debian-sid.Dockerfile @@ -0,0 +1,50 @@ +FROM debian:sid + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libarchive-dev \ + libc6-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjson-glib-dev \ + libsoup2.4-dev \ + libtool \ + libtool-bin \ + libxml2-dev \ + libxml2-utils \ + libxslt1-dev \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y diff --git a/buildenv-libosinfo-fedora-29.Dockerfile b/buildenv-libosinfo-fedora-29.Dockerfile new file mode 100644 index 0000000..bebf28e --- /dev/null +++ b/buildenv-libosinfo-fedora-29.Dockerfile @@ -0,0 +1,49 @@ +FROM fedora:29 + +RUN dnf update -y && \ + dnf install -y \ + autoconf \ + automake \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check-devel \ + chrony \ + cppi \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + gobject-introspection-devel \ + gtk-doc \ + hwdata \ + intltool \ + json-glib-devel \ + libarchive-devel \ + libsoup-devel \ + libtool \ + libxml2 \ + libxml2-devel \ + libxslt-devel \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconfig \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + rpm-build \ + screen \ + strace \ + sudo \ + vala \ + vim && \ + dnf autoremove -y && \ + dnf clean all -y diff --git a/buildenv-libosinfo-fedora-30.Dockerfile b/buildenv-libosinfo-fedora-30.Dockerfile new file mode 100644 index 0000000..54e5a3b --- /dev/null +++ b/buildenv-libosinfo-fedora-30.Dockerfile @@ -0,0 +1,49 @@ +FROM fedora:30 + +RUN dnf update -y && \ + dnf install -y \ + autoconf \ + automake \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check-devel \ + chrony \ + cppi \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + gobject-introspection-devel \ + gtk-doc \ + hwdata \ + intltool \ + json-glib-devel \ + libarchive-devel \ + libsoup-devel \ + libtool \ + libxml2 \ + libxml2-devel \ + libxslt-devel \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconfig \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + rpm-build \ + screen \ + strace \ + sudo \ + vala \ + vim && \ + dnf autoremove -y && \ + dnf clean all -y diff --git a/buildenv-libosinfo-fedora-rawhide.Dockerfile b/buildenv-libosinfo-fedora-rawhide.Dockerfile new file mode 100644 index 0000000..b0bdf1d --- /dev/null +++ b/buildenv-libosinfo-fedora-rawhide.Dockerfile @@ -0,0 +1,63 @@ +FROM fedora:rawhide + +RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ + dnf update -y && \ + dnf install -y \ + autoconf \ + automake \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check-devel \ + chrony \ + cppi \ + gcc \ + gdb \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + gobject-introspection-devel \ + gtk-doc \ + hwdata \ + intltool \ + json-glib-devel \ + libarchive-devel \ + libsoup-devel \ + libtool \ + libxml2 \ + libxml2-devel \ + libxslt-devel \ + lsof \ + make \ + mingw32-glib2 \ + mingw32-json-glib \ + mingw32-libarchive \ + mingw32-libsoup \ + mingw32-libxml2 \ + mingw32-libxslt \ + mingw64-glib2 \ + mingw64-json-glib \ + mingw64-libarchive \ + mingw64-libsoup \ + mingw64-libxml2 \ + mingw64-libxslt \ + net-tools \ + patch \ + perl \ + pkgconfig \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + rpm-build \ + screen \ + strace \ + sudo \ + vala \ + vim \ + wget && \ + dnf autoremove -y && \ + dnf clean all -y diff --git a/buildenv-libosinfo-ubuntu-16.Dockerfile b/buildenv-libosinfo-ubuntu-16.Dockerfile new file mode 100644 index 0000000..b41ed8d --- /dev/null +++ b/buildenv-libosinfo-ubuntu-16.Dockerfile @@ -0,0 +1,50 @@ +FROM ubuntu:16.04 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libarchive-dev \ + libc6-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjson-glib-dev \ + libsoup2.4-dev \ + libtool \ + libtool-bin \ + libxml2-dev \ + libxml2-utils \ + libxslt1-dev \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y diff --git a/buildenv-libosinfo-ubuntu-18.Dockerfile b/buildenv-libosinfo-ubuntu-18.Dockerfile new file mode 100644 index 0000000..b3af364 --- /dev/null +++ b/buildenv-libosinfo-ubuntu-18.Dockerfile @@ -0,0 +1,50 @@ +FROM ubuntu:18.04 + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + autoconf \ + automake \ + autopoint \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + check \ + chrony \ + gcc \ + gdb \ + gettext \ + git \ + gtk-doc-tools \ + hwdata \ + intltool \ + libarchive-dev \ + libc6-dev \ + libgirepository1.0-dev \ + libglib2.0-dev \ + libjson-glib-dev \ + libsoup2.4-dev \ + libtool \ + libtool-bin \ + libxml2-dev \ + libxml2-utils \ + libxslt1-dev \ + lsof \ + make \ + net-tools \ + patch \ + perl \ + pkgconf \ + python3 \ + python3-lxml \ + python3-pytest \ + python3-requests \ + screen \ + strace \ + sudo \ + valac \ + vim && \ + apt-get autoremove -y && \ + apt-get autoclean -y -- 2.21.0

On Wed, 2019-08-07 at 16:50 +0200, Fabiano Fidêncio wrote:
This patch series aims to add libosinfo Dockerfiles to this project, so those containers can be used by libosinfo projects' gitlab CI.
Please, take a look at each patch for more context of what has been done.
Changes since v2: https://www.redhat.com/archives/libvir-list/2019-July/msg01934.html - Cleaned up the code in order to avoid duplication, as pointed by Andrea; - Raise an Exception in case a file doesn't match any of the existent projects, as pointed by Andrea;
Changes since v1: https://www.redhat.com/archives/libvir-list/2019-July/msg01296.html - Update libosinfo Dockerfiles after having libvirt-jenkins-ci's patches related to libosinfo/osinfo-db-tools dependencies merged.
Fabiano Fidêncio (3): refresh: Learn how to deal with the project's name refresh: Add libosinfo project Add Dockerfiles for libosinfo project
Series Reviewed-by: Andrea Bolognani <abologna@redhat.com> and pushed. I'll look into propagating the changes to Quay, as well as update libvirt so that it can deal with the renames, tomorrow. -- Andrea Bolognani / Red Hat / Virtualization
participants (2)
-
Andrea Bolognani
-
Fabiano Fidêncio