2020-12-15 13:42:38 +03:00
# THIS FILE WAS AUTO-GENERATED
#
2021-01-13 15:16:03 +03:00
# $ lcitool dockerfile opensuse-152 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
2020-12-15 13:42:38 +03:00
#
2021-01-13 14:18:35 +03:00
# https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
2021-01-13 15:16:03 +03:00
FROM registry.opensuse.org/opensuse/leap:15.2
2020-04-23 15:31:48 +03:00
RUN zypper update -y && \
zypper install -y \
bash-completion \
ca-certificates \
ccache \
gcc \
git \
glib2-devel \
glibc-locale \
2021-01-13 15:16:03 +03:00
gtk-vnc-devel \
2020-04-23 15:31:48 +03:00
gtk3-devel \
2020-06-19 14:56:03 +03:00
icoutils \
2020-04-23 15:31:48 +03:00
libgovirt-devel \
2020-06-19 14:56:03 +03:00
librest-devel \
2020-04-23 15:31:48 +03:00
libtool \
2020-06-19 14:56:03 +03:00
libvirt-devel \
libvirt-glib-devel \
2020-04-23 15:31:48 +03:00
libxml2 \
libxml2-devel \
make \
2021-01-13 14:18:35 +03:00
ninja \
2020-04-23 15:31:48 +03:00
pkgconfig \
2021-01-13 14:18:35 +03:00
python3-pip \
python3-setuptools \
python3-wheel \
2020-04-23 15:31:48 +03:00
rpm-build \
2021-01-13 15:16:03 +03:00
spice-gtk-devel \
vte-devel && \
2020-04-23 15:31:48 +03:00
zypper clean --all && \
2020-12-15 13:42:38 +03:00
rpm -qa | sort > /packages.txt && \
2020-04-23 15:31:48 +03:00
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)
2021-01-13 14:18:35 +03:00
RUN pip3 install \
meson = = 0.54.0
2020-04-23 15:31:48 +03:00
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
2021-01-13 14:18:35 +03:00
ENV NINJA "/usr/bin/ninja"
2020-04-23 15:31:48 +03:00
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"