mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-08 21:17:49 +03:00
aa4482a223
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>
64 lines
1.5 KiB
Docker
64 lines
1.5 KiB
Docker
FROM opensuse/leap:15.1
|
|
|
|
RUN zypper update -y && \
|
|
zypper install -y \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
chrony \
|
|
cppi \
|
|
gcc \
|
|
gdb \
|
|
gettext \
|
|
gettext-devel \
|
|
git \
|
|
glib2-devel \
|
|
glibc-devel \
|
|
glibc-locale \
|
|
gtk-vnc2-devel \
|
|
gtk3-devel \
|
|
icoutils \
|
|
libgovirt-devel \
|
|
librest-devel \
|
|
libtool \
|
|
libvirt-devel \
|
|
libvirt-glib-devel \
|
|
libxml2 \
|
|
libxml2-devel \
|
|
lsof \
|
|
make \
|
|
net-tools \
|
|
ninja \
|
|
patch \
|
|
perl \
|
|
perl-App-cpanminus \
|
|
pkgconfig \
|
|
python3 \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
rpm-build \
|
|
screen \
|
|
spice-gtk-devel \
|
|
strace \
|
|
sudo \
|
|
vim && \
|
|
zypper clean --all && \
|
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
|
|
|
|
RUN pip3 install \
|
|
meson==0.49.0
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV NINJA "/usr/bin/ninja"
|
|
ENV PYTHON "/usr/bin/python3"
|
|
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|