virt-viewer/ci/containers/ci-opensuse-152.Dockerfile
Daniel P. Berrangé f03e009eb7 gitlab: convert CI to use meson instead of autotools
A new 'codestyle' job is added for syntax-check, since that is not run
as part of the 'dist' target.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-01-25 16:02:48 +00:00

49 lines
1.4 KiB
Docker

# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool dockerfile opensuse-152 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
#
# https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
FROM registry.opensuse.org/opensuse/leap:15.2
RUN zypper update -y && \
zypper install -y \
bash-completion \
ca-certificates \
ccache \
gcc \
git \
glib2-devel \
glibc-locale \
gtk-vnc-devel \
gtk3-devel \
icoutils \
libgovirt-devel \
librest-devel \
libtool \
libvirt-devel \
libvirt-glib-devel \
libxml2 \
libxml2-devel \
make \
ninja \
pkgconfig \
python3-pip \
python3-setuptools \
python3-wheel \
rpm-build \
spice-gtk-devel \
vte-devel && \
zypper clean --all && \
rpm -qa | sort > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
RUN pip3 install \
meson==0.54.0
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"