mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 23:00:54 +00:00
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>
56 lines
1.6 KiB
Docker
56 lines
1.6 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool dockerfile fedora-rawhide libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/318adcadcf442daba1883f5046ad1970b65e5ca0
|
|
FROM registry.fedoraproject.org/fedora:rawhide
|
|
|
|
RUN dnf install -y nosync && \
|
|
echo -e '#!/bin/sh\n\
|
|
if test -d /usr/lib64\n\
|
|
then\n\
|
|
export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
|
|
else\n\
|
|
export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
|
|
fi\n\
|
|
exec "$@"' > /usr/bin/nosync && \
|
|
chmod +x /usr/bin/nosync && \
|
|
nosync dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|
nosync dnf update -y && \
|
|
nosync dnf install -y \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
git \
|
|
glib2-devel \
|
|
glibc-langpack-en \
|
|
gtk-vnc2-devel \
|
|
gtk3-devel \
|
|
icoutils \
|
|
libgovirt-devel \
|
|
libtool \
|
|
libvirt-devel \
|
|
libvirt-gobject-devel \
|
|
libxml2 \
|
|
libxml2-devel \
|
|
make \
|
|
meson \
|
|
ninja-build \
|
|
pkgconfig \
|
|
rest-devel \
|
|
rpm-build \
|
|
spice-gtk3-devel \
|
|
vte291-devel && \
|
|
nosync dnf autoremove -y && \
|
|
nosync dnf clean all -y && \
|
|
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)
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV NINJA "/usr/bin/ninja"
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|