2020-12-14 15:24:37 +00:00
|
|
|
# THIS FILE WAS AUTO-GENERATED
|
|
|
|
#
|
|
|
|
# $ lcitool dockerfile centos-stream libvirt
|
|
|
|
#
|
2021-04-15 17:07:16 +00:00
|
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea
|
|
|
|
|
2020-12-14 15:24:37 +00:00
|
|
|
FROM docker.io/library/centos:8
|
2020-06-02 15:28:57 +00:00
|
|
|
|
2021-01-19 07:21:26 +00:00
|
|
|
RUN dnf install -y centos-release-stream && \
|
|
|
|
dnf install -y centos-stream-release && \
|
|
|
|
dnf update -y && \
|
2020-06-02 15:28:57 +00:00
|
|
|
dnf install 'dnf-command(config-manager)' -y && \
|
2021-01-19 07:21:26 +00:00
|
|
|
dnf config-manager --set-enabled -y powertools && \
|
2020-11-23 18:03:36 +00:00
|
|
|
dnf install -y centos-release-advanced-virtualization && \
|
2020-06-02 15:28:57 +00:00
|
|
|
dnf install -y epel-release && \
|
|
|
|
dnf install -y \
|
|
|
|
audit-libs-devel \
|
|
|
|
augeas \
|
|
|
|
avahi-devel \
|
|
|
|
bash-completion \
|
|
|
|
ca-certificates \
|
|
|
|
ccache \
|
2020-07-28 12:24:27 +00:00
|
|
|
clang \
|
2021-04-15 17:07:16 +00:00
|
|
|
cpp \
|
2020-06-02 15:28:57 +00:00
|
|
|
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 \
|
2021-03-23 14:33:33 +00:00
|
|
|
grep \
|
2020-06-02 15:28:57 +00:00
|
|
|
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 \
|
|
|
|
netcf-devel \
|
|
|
|
nfs-utils \
|
|
|
|
ninja-build \
|
|
|
|
numactl-devel \
|
|
|
|
numad \
|
|
|
|
parted \
|
|
|
|
parted-devel \
|
|
|
|
perl \
|
|
|
|
pkgconfig \
|
|
|
|
polkit \
|
|
|
|
python3 \
|
|
|
|
python3-docutils \
|
|
|
|
python3-flake8 \
|
2020-06-25 12:28:25 +00:00
|
|
|
python3-pip \
|
2020-06-02 15:28:57 +00:00
|
|
|
python3-setuptools \
|
|
|
|
python3-wheel \
|
|
|
|
qemu-img \
|
|
|
|
radvd \
|
|
|
|
readline-devel \
|
|
|
|
rpcgen \
|
|
|
|
rpm-build \
|
|
|
|
sanlock-devel \
|
|
|
|
scrub \
|
2021-03-23 14:33:33 +00:00
|
|
|
sed \
|
2020-06-02 15:28:57 +00:00
|
|
|
systemtap-sdt-devel \
|
|
|
|
wireshark-devel \
|
|
|
|
xfsprogs-devel \
|
|
|
|
yajl-devel && \
|
|
|
|
dnf autoremove -y && \
|
|
|
|
dnf clean all -y && \
|
2020-12-14 15:24:37 +00:00
|
|
|
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 && \
|
2021-04-15 17:07:16 +00:00
|
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
|
|
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
2020-06-02 15:28:57 +00:00
|
|
|
|
2020-08-03 06:53:00 +00:00
|
|
|
RUN pip3 install \
|
2021-04-15 17:07:16 +00:00
|
|
|
meson==0.56.0
|
2020-08-03 06:53:00 +00:00
|
|
|
|
2020-06-02 15:28:57 +00:00
|
|
|
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"
|