mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-21 18:03:43 +03:00
gitlab: refactor recipe for native builds
Currently on every distro we build against the latest git libvirt and related deps. We need to test multiple axis: - A variety of libvirt versions - A variety of distro versions So this changes most jobs to build against the distro provided libvirt and related deps. The CentOS 8 job is kept building against latest git master libvirt and deps. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
42752d3ff0
commit
aa4482a223
101
.gitlab-ci.yml
101
.gitlab-ci.yml
@ -20,17 +20,29 @@ stages:
|
|||||||
after_script:
|
after_script:
|
||||||
- docker logout
|
- docker logout
|
||||||
|
|
||||||
.git_build_job_template: &git_build_job_definition
|
.script_variables: &script_variables |
|
||||||
|
export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
export SCRATCH_DIR="/tmp/scratch"
|
||||||
|
export VROOT="$SCRATCH_DIR/vroot"
|
||||||
|
export LD_LIBRARY_PATH="$VROOT/lib"
|
||||||
|
export PATH="$VROOT/bin:$PATH"
|
||||||
|
export PKG_CONFIG_PATH="$VROOT/lib/pkgconfig"
|
||||||
|
|
||||||
|
.dist_native_build_job_template: &dist_native_build_job_definition
|
||||||
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
|
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
|
||||||
stage: builds
|
stage: builds
|
||||||
before_script:
|
before_script:
|
||||||
- export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
|
- *script_variables
|
||||||
- export SCRATCH_DIR="/tmp/scratch"
|
script:
|
||||||
- export VROOT="$SCRATCH_DIR/vroot"
|
- ./autogen.sh --prefix="$VROOT"
|
||||||
- export LD_LIBRARY_PATH="$VROOT/lib"
|
- $MAKE dist
|
||||||
- export PATH="$VROOT/bin:$PATH"
|
- if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ; then rpmbuild --nodeps -ta virt-viewer*.tar.gz ; fi
|
||||||
- export PKG_CONFIG_PATH="$VROOT/lib/pkgconfig"
|
|
||||||
- export TEST_MAINTAINER=1
|
.git_native_build_job_template: &git_native_build_job_definition
|
||||||
|
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
|
||||||
|
stage: builds
|
||||||
|
before_script:
|
||||||
|
- *script_variables
|
||||||
script:
|
script:
|
||||||
- pushd "$PWD"
|
- pushd "$PWD"
|
||||||
- mkdir -p "$SCRATCH_DIR"
|
- mkdir -p "$SCRATCH_DIR"
|
||||||
@ -54,9 +66,10 @@ stages:
|
|||||||
- $NINJA -C build install
|
- $NINJA -C build install
|
||||||
- popd
|
- popd
|
||||||
- ./autogen.sh --prefix="$VROOT"
|
- ./autogen.sh --prefix="$VROOT"
|
||||||
- $MAKE
|
|
||||||
- $MAKE syntax-check
|
- $MAKE syntax-check
|
||||||
- $MAKE install
|
- $MAKE dist
|
||||||
|
- if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ; then rpmbuild --nodeps -ta virt-viewer*.tar.gz ; fi
|
||||||
|
|
||||||
|
|
||||||
# Check that all commits are signed-off for the DCO.
|
# Check that all commits are signed-off for the DCO.
|
||||||
# Skip on "virt-viewer" namespace, since we only need to run
|
# Skip on "virt-viewer" namespace, since we only need to run
|
||||||
@ -71,113 +84,115 @@ check-dco:
|
|||||||
variables:
|
variables:
|
||||||
- $CI_PROJECT_NAMESPACE == 'virt-viewer'
|
- $CI_PROJECT_NAMESPACE == 'virt-viewer'
|
||||||
|
|
||||||
centos-7-container:
|
x86-centos-7-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-7
|
NAME: centos-7
|
||||||
|
|
||||||
centos-8-container:
|
x86-centos-8-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-8
|
NAME: centos-8
|
||||||
|
|
||||||
debian-9-container:
|
x86-debian-9-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-9
|
NAME: debian-9
|
||||||
|
|
||||||
debian-10-container:
|
x86-debian-10-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-10
|
NAME: debian-10
|
||||||
|
|
||||||
debian-sid-container:
|
x86-debian-sid-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-sid
|
NAME: debian-sid
|
||||||
|
|
||||||
fedora-31-container:
|
x86-fedora-31-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-31
|
NAME: fedora-31
|
||||||
|
|
||||||
fedora-32-container:
|
x86-fedora-32-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-32
|
NAME: fedora-32
|
||||||
|
|
||||||
fedora-rawhide-container:
|
x86-fedora-rawhide-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-rawhide
|
NAME: fedora-rawhide
|
||||||
|
|
||||||
opensuse-151-container:
|
x86-opensuse-151-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: opensuse-151
|
NAME: opensuse-151
|
||||||
|
|
||||||
ubuntu-1804-container:
|
x86-ubuntu-1804-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-1804
|
NAME: ubuntu-1804
|
||||||
|
|
||||||
ubuntu-2004-container:
|
x86-ubuntu-2004-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-2004
|
NAME: ubuntu-2004
|
||||||
|
|
||||||
|
|
||||||
centos-7-git-build:
|
x86-centos-7-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-7
|
NAME: centos-7
|
||||||
|
|
||||||
centos-8-git-build:
|
x86-centos-8-git-build:
|
||||||
<<: *git_build_job_definition
|
<<: *git_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: centos-8
|
NAME: centos-8
|
||||||
|
RPM: skip
|
||||||
|
|
||||||
debian-9-git-build:
|
x86-debian-9-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-9
|
NAME: debian-9
|
||||||
|
|
||||||
debian-10-git-build:
|
x86-debian-10-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-10
|
NAME: debian-10
|
||||||
|
|
||||||
debian-sid-git-build:
|
x86-debian-sid-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: debian-sid
|
NAME: debian-sid
|
||||||
|
|
||||||
fedora-31-git-build:
|
x86-fedora-31-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-31
|
NAME: fedora-31
|
||||||
|
|
||||||
fedora-32-git-build:
|
x86-fedora-32-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-32
|
NAME: fedora-32
|
||||||
|
|
||||||
fedora-rawhide-git-build:
|
x86-fedora-rawhide-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: fedora-rawhide
|
NAME: fedora-rawhide
|
||||||
|
|
||||||
opensuse-151-git-build:
|
x86-opensuse-151-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: opensuse-151
|
NAME: opensuse-151
|
||||||
|
RPM: skip
|
||||||
|
|
||||||
ubuntu-1804-git-build:
|
x86-ubuntu-1804-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-1804
|
NAME: ubuntu-1804
|
||||||
|
|
||||||
ubuntu-2004-git-build:
|
x86-ubuntu-2004-dist-build:
|
||||||
<<: *git_build_job_definition
|
<<: *dist_native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu-2004
|
NAME: ubuntu-2004
|
||||||
|
@ -40,48 +40,41 @@ WEiJKtQrZDJloqtyi/mmRa1VsV7RYR0VPJjhK/R8EQ7Ysshy\n\
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
cyrus-sasl-devel \
|
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gdk-pixbuf2-devel \
|
|
||||||
gettext \
|
gettext \
|
||||||
gettext-devel \
|
gettext-devel \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-common \
|
glibc-common \
|
||||||
glibc-devel \
|
glibc-devel \
|
||||||
gnutls-devel \
|
gtk-vnc2-devel \
|
||||||
gobject-introspection-devel \
|
|
||||||
gtk-doc \
|
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
intltool \
|
icoutils \
|
||||||
libgcrypt-devel \
|
|
||||||
libgovirt-devel \
|
libgovirt-devel \
|
||||||
libnl3-devel \
|
|
||||||
libtirpc-devel \
|
|
||||||
libtool \
|
libtool \
|
||||||
|
libvirt-devel \
|
||||||
|
libvirt-gobject-devel \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt \
|
|
||||||
lsof \
|
lsof \
|
||||||
make \
|
make \
|
||||||
net-tools \
|
net-tools \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
pulseaudio-libs-devel \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
python36-docutils \
|
rest-devel \
|
||||||
rpm-build \
|
rpm-build \
|
||||||
screen \
|
screen \
|
||||||
spice-gtk3-devel \
|
spice-gtk3-devel \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vala \
|
|
||||||
vim && \
|
vim && \
|
||||||
yum autoremove -y && \
|
yum autoremove -y && \
|
||||||
yum clean all -y && \
|
yum clean all -y && \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM centos:8
|
FROM centos:8
|
||||||
|
|
||||||
RUN dnf install 'dnf-command(config-manager)' -y && \
|
RUN dnf install 'dnf-command(config-manager)' -y && \
|
||||||
dnf config-manager --set-enabled PowerTools -y && \
|
dnf config-manager --set-enabled -y PowerTools && \
|
||||||
dnf install -y epel-release && \
|
dnf install -y epel-release && \
|
||||||
dnf update -y && \
|
dnf update -y && \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
@ -26,6 +26,7 @@ RUN dnf install 'dnf-command(config-manager)' -y && \
|
|||||||
gobject-introspection-devel \
|
gobject-introspection-devel \
|
||||||
gtk-doc \
|
gtk-doc \
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
|
icoutils \
|
||||||
intltool \
|
intltool \
|
||||||
libgcrypt-devel \
|
libgcrypt-devel \
|
||||||
libnl3-devel \
|
libnl3-devel \
|
||||||
@ -41,10 +42,12 @@ RUN dnf install 'dnf-command(config-manager)' -y && \
|
|||||||
ninja-build \
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
pulseaudio-libs-devel \
|
pulseaudio-libs-devel \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-docutils \
|
||||||
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
rpcgen \
|
rpcgen \
|
||||||
|
@ -12,29 +12,23 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
|
cpanminus \
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
gtk-doc-tools \
|
icoutils \
|
||||||
intltool \
|
|
||||||
libc-dev-bin \
|
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libgcrypt20-dev \
|
|
||||||
libgdk-pixbuf2.0-dev \
|
|
||||||
libgirepository1.0-dev \
|
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgnutls28-dev \
|
|
||||||
libgovirt-dev \
|
libgovirt-dev \
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libnl-3-dev \
|
libgtk-vnc-2.0-dev \
|
||||||
libnl-route-3-dev \
|
librest-dev \
|
||||||
libpulse-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libspice-client-gtk-3.0-dev \
|
libspice-client-gtk-3.0-dev \
|
||||||
libtirpc-dev \
|
|
||||||
libtool \
|
libtool \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
|
libvirt-dev \
|
||||||
|
libvirt-glib-1.0-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
locales \
|
locales \
|
||||||
@ -47,15 +41,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
perl \
|
perl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
screen \
|
screen \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
valac \
|
vim && \
|
||||||
vim \
|
|
||||||
xsltproc && \
|
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||||||
|
@ -12,29 +12,23 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
|
cpanminus \
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
gtk-doc-tools \
|
icoutils \
|
||||||
intltool \
|
|
||||||
libc-dev-bin \
|
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libgcrypt20-dev \
|
|
||||||
libgdk-pixbuf2.0-dev \
|
|
||||||
libgirepository1.0-dev \
|
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgnutls28-dev \
|
|
||||||
libgovirt-dev \
|
libgovirt-dev \
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libnl-3-dev \
|
libgtk-vnc-2.0-dev \
|
||||||
libnl-route-3-dev \
|
librest-dev \
|
||||||
libpulse-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libspice-client-gtk-3.0-dev \
|
libspice-client-gtk-3.0-dev \
|
||||||
libtirpc-dev \
|
|
||||||
libtool \
|
libtool \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
|
libvirt-dev \
|
||||||
|
libvirt-glib-1.0-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
locales \
|
locales \
|
||||||
@ -46,16 +40,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
perl \
|
perl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
screen \
|
screen \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
valac \
|
vim && \
|
||||||
vim \
|
|
||||||
xsltproc && \
|
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||||||
|
@ -12,29 +12,23 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
|
cpanminus \
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
gtk-doc-tools \
|
icoutils \
|
||||||
intltool \
|
|
||||||
libc-dev-bin \
|
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libgcrypt20-dev \
|
|
||||||
libgdk-pixbuf2.0-dev \
|
|
||||||
libgirepository1.0-dev \
|
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgnutls28-dev \
|
|
||||||
libgovirt-dev \
|
libgovirt-dev \
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libnl-3-dev \
|
libgtk-vnc-2.0-dev \
|
||||||
libnl-route-3-dev \
|
librest-dev \
|
||||||
libpulse-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libspice-client-gtk-3.0-dev \
|
libspice-client-gtk-3.0-dev \
|
||||||
libtirpc-dev \
|
|
||||||
libtool \
|
libtool \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
|
libvirt-dev \
|
||||||
|
libvirt-glib-1.0-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
locales \
|
locales \
|
||||||
@ -47,15 +41,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
perl \
|
perl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
screen \
|
screen \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
valac \
|
vim && \
|
||||||
vim \
|
|
||||||
xsltproc && \
|
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||||||
|
@ -10,29 +10,23 @@ RUN dnf update -y && \
|
|||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
cppi \
|
cppi \
|
||||||
cyrus-sasl-devel \
|
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gdk-pixbuf2-devel \
|
|
||||||
gettext \
|
gettext \
|
||||||
gettext-devel \
|
gettext-devel \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-devel \
|
glibc-devel \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
gnutls-devel \
|
gtk-vnc2-devel \
|
||||||
gobject-introspection-devel \
|
|
||||||
gtk-doc \
|
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
intltool \
|
icoutils \
|
||||||
libgcrypt-devel \
|
|
||||||
libgovirt-devel \
|
libgovirt-devel \
|
||||||
libnl3-devel \
|
|
||||||
libtirpc-devel \
|
|
||||||
libtool \
|
libtool \
|
||||||
|
libvirt-devel \
|
||||||
|
libvirt-gobject-devel \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt \
|
|
||||||
lsof \
|
lsof \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
@ -40,19 +34,18 @@ RUN dnf update -y && \
|
|||||||
ninja-build \
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
pulseaudio-libs-devel \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
rpcgen \
|
rest-devel \
|
||||||
rpm-build \
|
rpm-build \
|
||||||
screen \
|
screen \
|
||||||
spice-gtk3-devel \
|
spice-gtk3-devel \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vala \
|
|
||||||
vim && \
|
vim && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y && \
|
dnf clean all -y && \
|
||||||
|
@ -10,29 +10,23 @@ RUN dnf update -y && \
|
|||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
cppi \
|
cppi \
|
||||||
cyrus-sasl-devel \
|
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gdk-pixbuf2-devel \
|
|
||||||
gettext \
|
gettext \
|
||||||
gettext-devel \
|
gettext-devel \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-devel \
|
glibc-devel \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
gnutls-devel \
|
gtk-vnc2-devel \
|
||||||
gobject-introspection-devel \
|
|
||||||
gtk-doc \
|
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
intltool \
|
icoutils \
|
||||||
libgcrypt-devel \
|
|
||||||
libgovirt-devel \
|
libgovirt-devel \
|
||||||
libnl3-devel \
|
|
||||||
libtirpc-devel \
|
|
||||||
libtool \
|
libtool \
|
||||||
|
libvirt-devel \
|
||||||
|
libvirt-gobject-devel \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt \
|
|
||||||
lsof \
|
lsof \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
@ -40,19 +34,18 @@ RUN dnf update -y && \
|
|||||||
ninja-build \
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
pulseaudio-libs-devel \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
rpcgen \
|
rest-devel \
|
||||||
rpm-build \
|
rpm-build \
|
||||||
screen \
|
screen \
|
||||||
spice-gtk3-devel \
|
spice-gtk3-devel \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vala \
|
|
||||||
vim && \
|
vim && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y && \
|
dnf clean all -y && \
|
||||||
|
@ -11,29 +11,23 @@ RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
cppi \
|
cppi \
|
||||||
cyrus-sasl-devel \
|
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gdk-pixbuf2-devel \
|
|
||||||
gettext \
|
gettext \
|
||||||
gettext-devel \
|
gettext-devel \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-devel \
|
glibc-devel \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
gnutls-devel \
|
gtk-vnc2-devel \
|
||||||
gobject-introspection-devel \
|
|
||||||
gtk-doc \
|
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
intltool \
|
icoutils \
|
||||||
libgcrypt-devel \
|
|
||||||
libgovirt-devel \
|
libgovirt-devel \
|
||||||
libnl3-devel \
|
|
||||||
libtirpc-devel \
|
|
||||||
libtool \
|
libtool \
|
||||||
|
libvirt-devel \
|
||||||
|
libvirt-gobject-devel \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt \
|
|
||||||
lsof \
|
lsof \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
@ -41,19 +35,18 @@ RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|||||||
ninja-build \
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
pulseaudio-libs-devel \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
rpcgen \
|
rest-devel \
|
||||||
rpm-build \
|
rpm-build \
|
||||||
screen \
|
screen \
|
||||||
spice-gtk3-devel \
|
spice-gtk3-devel \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vala \
|
|
||||||
vim && \
|
vim && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all -y && \
|
dnf clean all -y && \
|
||||||
|
@ -10,49 +10,41 @@ RUN zypper update -y && \
|
|||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
cppi \
|
cppi \
|
||||||
cyrus-sasl-devel \
|
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gdk-pixbuf-devel \
|
|
||||||
gettext \
|
gettext \
|
||||||
gettext-devel \
|
gettext-devel \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-devel \
|
glibc-devel \
|
||||||
glibc-locale \
|
glibc-locale \
|
||||||
gobject-introspection-devel \
|
gtk-vnc2-devel \
|
||||||
gtk-doc \
|
|
||||||
gtk3-devel \
|
gtk3-devel \
|
||||||
intltool \
|
icoutils \
|
||||||
libgcrypt-devel \
|
|
||||||
libgnutls-devel \
|
|
||||||
libgovirt-devel \
|
libgovirt-devel \
|
||||||
libnl3-devel \
|
librest-devel \
|
||||||
libpulse-devel \
|
|
||||||
libtirpc-devel \
|
|
||||||
libtool \
|
libtool \
|
||||||
|
libvirt-devel \
|
||||||
|
libvirt-glib-devel \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt \
|
|
||||||
lsof \
|
lsof \
|
||||||
make \
|
make \
|
||||||
net-tools \
|
net-tools \
|
||||||
ninja \
|
ninja \
|
||||||
patch \
|
patch \
|
||||||
perl \
|
perl \
|
||||||
|
perl-App-cpanminus \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
rpcgen \
|
|
||||||
rpm-build \
|
rpm-build \
|
||||||
screen \
|
screen \
|
||||||
spice-gtk-devel \
|
spice-gtk-devel \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vala \
|
|
||||||
vim && \
|
vim && \
|
||||||
zypper clean --all && \
|
zypper clean --all && \
|
||||||
mkdir -p /usr/libexec/ccache-wrappers && \
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
||||||
|
@ -18,5 +18,10 @@ HOSTS=$($LCITOOL hosts | grep -v freebsd | sed -e 's/libvirt-//')
|
|||||||
|
|
||||||
for host in $HOSTS
|
for host in $HOSTS
|
||||||
do
|
do
|
||||||
$LCITOOL dockerfile libvirt-$host libvirt+minimal,libvirt-glib,gtk-vnc,virt-viewer > $host.Dockerfile
|
if test "$host" = "centos-8" || test "$host" = "centos-stream"
|
||||||
|
then
|
||||||
|
$LCITOOL dockerfile libvirt-$host libvirt+minimal,libvirt-glib,gtk-vnc,virt-viewer > $host.Dockerfile
|
||||||
|
else
|
||||||
|
$LCITOOL dockerfile libvirt-$host libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer > $host.Dockerfile
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
@ -12,28 +12,22 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
|
cpanminus \
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
gtk-doc-tools \
|
icoutils \
|
||||||
intltool \
|
|
||||||
libc-dev-bin \
|
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libgcrypt20-dev \
|
|
||||||
libgdk-pixbuf2.0-dev \
|
|
||||||
libgirepository1.0-dev \
|
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgnutls28-dev \
|
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libnl-3-dev \
|
libgtk-vnc-2.0-dev \
|
||||||
libnl-route-3-dev \
|
librest-dev \
|
||||||
libpulse-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libspice-client-gtk-3.0-dev \
|
libspice-client-gtk-3.0-dev \
|
||||||
libtirpc-dev \
|
|
||||||
libtool \
|
libtool \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
|
libvirt-dev \
|
||||||
|
libvirt-glib-1.0-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
locales \
|
locales \
|
||||||
@ -45,16 +39,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
perl \
|
perl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
screen \
|
screen \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
valac \
|
vim && \
|
||||||
vim \
|
|
||||||
xsltproc && \
|
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||||||
|
@ -12,28 +12,22 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
chrony \
|
chrony \
|
||||||
|
cpanminus \
|
||||||
gcc \
|
gcc \
|
||||||
gdb \
|
gdb \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
gtk-doc-tools \
|
icoutils \
|
||||||
intltool \
|
|
||||||
libc-dev-bin \
|
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libgcrypt20-dev \
|
|
||||||
libgdk-pixbuf2.0-dev \
|
|
||||||
libgirepository1.0-dev \
|
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgnutls28-dev \
|
|
||||||
libgtk-3-dev \
|
libgtk-3-dev \
|
||||||
libnl-3-dev \
|
libgtk-vnc-2.0-dev \
|
||||||
libnl-route-3-dev \
|
librest-dev \
|
||||||
libpulse-dev \
|
|
||||||
libsasl2-dev \
|
|
||||||
libspice-client-gtk-3.0-dev \
|
libspice-client-gtk-3.0-dev \
|
||||||
libtirpc-dev \
|
|
||||||
libtool \
|
libtool \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
|
libvirt-dev \
|
||||||
|
libvirt-glib-1.0-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
locales \
|
locales \
|
||||||
@ -46,15 +40,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||||||
perl \
|
perl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3 \
|
python3 \
|
||||||
python3-docutils \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
screen \
|
screen \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
valac \
|
vim && \
|
||||||
vim \
|
|
||||||
xsltproc && \
|
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
apt-get autoclean -y && \
|
apt-get autoclean -y && \
|
||||||
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user