mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-22 22:03:44 +03:00
7ee760ea80
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
65 lines
1.7 KiB
Docker
65 lines
1.7 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool manifest ci/manifest.yml
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
FROM registry.fedoraproject.org/fedora:rawhide
|
|
|
|
RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|
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 distro-sync -y && \
|
|
nosync dnf install -y \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
cppi \
|
|
git \
|
|
glibc-langpack-en \
|
|
gtk-vnc2-devel \
|
|
icoutils \
|
|
libtool \
|
|
libxml2 \
|
|
make \
|
|
meson \
|
|
ninja-build \
|
|
rpm-build && \
|
|
nosync dnf autoremove -y && \
|
|
nosync dnf clean all -y
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV NINJA "/usr/bin/ninja"
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
|
|
|
RUN nosync dnf install -y \
|
|
mingw32-gcc \
|
|
mingw32-gettext \
|
|
mingw32-glib2 \
|
|
mingw32-gstreamer1-plugins-bad-free \
|
|
mingw32-gstreamer1-plugins-good \
|
|
mingw32-gtk3 \
|
|
mingw32-libgovirt \
|
|
mingw32-libvirt \
|
|
mingw32-libxml2 \
|
|
mingw32-pkg-config \
|
|
mingw32-rest \
|
|
mingw32-spice-gtk3 && \
|
|
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/i686-w64-mingw32-cc && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
|
|
|
|
ENV ABI "i686-w64-mingw32"
|
|
ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
|