2020-12-14 15:24:37 +00:00
|
|
|
# THIS FILE WAS AUTO-GENERATED
|
|
|
|
#
|
|
|
|
# $ lcitool dockerfile fedora-33 libvirt
|
|
|
|
#
|
2021-02-11 11:13:48 +00:00
|
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/891c7d56be1d0eb5adaf78fced7d1d882d6f0b6a
|
2020-11-23 18:03:36 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:33
|
2020-06-02 15:28:57 +00:00
|
|
|
|
2020-12-14 15:24:37 +00: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-06-02 15:28:57 +00:00
|
|
|
audit-libs-devel \
|
|
|
|
augeas \
|
|
|
|
avahi-devel \
|
|
|
|
bash-completion \
|
|
|
|
ca-certificates \
|
|
|
|
ccache \
|
2020-07-28 12:24:27 +00:00
|
|
|
clang \
|
2020-06-02 15:28:57 +00:00
|
|
|
cppi \
|
|
|
|
cyrus-sasl-devel \
|
|
|
|
dbus-devel \
|
|
|
|
device-mapper-devel \
|
2020-11-23 18:20:57 +00:00
|
|
|
diffutils \
|
2020-06-02 15:28:57 +00:00
|
|
|
dnsmasq \
|
|
|
|
dwarves \
|
|
|
|
ebtables \
|
2020-10-08 13:26:12 +00:00
|
|
|
firewalld-filesystem \
|
2020-06-02 15:28:57 +00:00
|
|
|
fuse-devel \
|
|
|
|
gcc \
|
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
glib2-devel \
|
|
|
|
glibc-devel \
|
|
|
|
glibc-langpack-en \
|
|
|
|
glusterfs-api-devel \
|
|
|
|
gnutls-devel \
|
|
|
|
iproute \
|
|
|
|
iproute-tc \
|
2021-02-11 11:13:48 +00:00
|
|
|
iptables \
|
2020-06-02 15:28:57 +00:00
|
|
|
iscsi-initiator-utils \
|
|
|
|
kmod \
|
|
|
|
libacl-devel \
|
|
|
|
libattr-devel \
|
|
|
|
libblkid-devel \
|
|
|
|
libcap-ng-devel \
|
|
|
|
libcurl-devel \
|
|
|
|
libiscsi-devel \
|
|
|
|
libnl3-devel \
|
|
|
|
libpcap-devel \
|
|
|
|
libpciaccess-devel \
|
|
|
|
librbd-devel \
|
|
|
|
libselinux-devel \
|
|
|
|
libssh-devel \
|
|
|
|
libssh2-devel \
|
|
|
|
libtirpc-devel \
|
|
|
|
libudev-devel \
|
|
|
|
libwsman-devel \
|
|
|
|
libxml2 \
|
|
|
|
libxml2-devel \
|
|
|
|
libxslt \
|
|
|
|
lvm2 \
|
|
|
|
make \
|
2020-11-23 18:03:36 +00:00
|
|
|
meson \
|
2020-06-02 15:28:57 +00:00
|
|
|
netcf-devel \
|
|
|
|
nfs-utils \
|
|
|
|
ninja-build \
|
|
|
|
numactl-devel \
|
|
|
|
numad \
|
|
|
|
parted \
|
|
|
|
parted-devel \
|
|
|
|
perl \
|
|
|
|
pkgconfig \
|
|
|
|
polkit \
|
|
|
|
python3 \
|
|
|
|
python3-docutils \
|
|
|
|
python3-flake8 \
|
|
|
|
qemu-img \
|
|
|
|
radvd \
|
|
|
|
readline-devel \
|
|
|
|
rpcgen \
|
|
|
|
rpm-build \
|
|
|
|
sanlock-devel \
|
|
|
|
scrub \
|
|
|
|
sheepdog \
|
|
|
|
systemtap-sdt-devel \
|
|
|
|
wireshark-devel \
|
|
|
|
xen-devel \
|
|
|
|
xfsprogs-devel \
|
|
|
|
yajl-devel \
|
|
|
|
zfs-fuse && \
|
2020-12-14 15:24:37 +00:00
|
|
|
nosync dnf autoremove -y && \
|
|
|
|
nosync dnf clean all -y && \
|
|
|
|
rpm -qa | sort > /packages.txt && \
|
2020-06-02 15:28:57 +00: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 NINJA "/usr/bin/ninja"
|
|
|
|
ENV PYTHON "/usr/bin/python3"
|
|
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|