2020-12-15 13:42:38 +03:00
# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool dockerfile fedora-33 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
#
2021-01-13 15:16:03 +03:00
# https://gitlab.com/libvirt/libvirt-ci/-/commit/860993e19c005848fde8087941acdbd7ffdcf295
2020-11-23 21:20:57 +03:00
FROM registry.fedoraproject.org/fedora:33
2020-04-23 15:31:48 +03:00
2020-12-15 13:42:38 +03:00
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 && \
nosync dnf install -y \
2020-04-23 15:31:48 +03:00
autoconf \
automake \
bash-completion \
ca-certificates \
ccache \
gcc \
gettext-devel \
git \
glib2-devel \
glibc-langpack-en \
2020-06-19 14:56:03 +03:00
gtk-vnc2-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 \
libtool \
2020-06-19 14:56:03 +03:00
libvirt-devel \
libvirt-gobject-devel \
2020-04-23 15:31:48 +03:00
libxml2 \
libxml2-devel \
make \
pkgconfig \
2020-06-19 14:56:03 +03:00
rest-devel \
2020-04-23 15:31:48 +03:00
rpm-build \
2021-01-13 15:16:03 +03:00
spice-gtk3-devel \
vte291-devel && \
2020-12-15 13:42:38 +03:00
nosync dnf autoremove -y && \
nosync dnf clean all -y && \
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)
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"