2020-12-14 18:24:37 +03:00
# THIS FILE WAS AUTO-GENERATED
#
2021-05-04 11:39:31 +03:00
# $ lcitool dockerfile centos-stream-8 libvirt
2020-12-14 18:24:37 +03:00
#
2021-07-19 15:36:51 +03:00
# https://gitlab.com/libvirt/libvirt-ci
2021-04-15 20:07:16 +03:00
2021-05-04 11:39:31 +03:00
FROM quay.io/centos/centos:stream8
2020-06-02 18:28:57 +03:00
2021-05-04 11:39:31 +03:00
RUN dnf update -y && \
2020-06-02 18:28:57 +03:00
dnf install 'dnf-command(config-manager)' -y && \
2021-01-19 10:21:26 +03:00
dnf config-manager --set-enabled -y powertools && \
2020-11-23 21:03:36 +03:00
dnf install -y centos-release-advanced-virtualization && \
2020-06-02 18:28:57 +03:00
dnf install -y epel-release && \
dnf install -y \
audit-libs-devel \
augeas \
bash-completion \
ca-certificates \
ccache \
2020-07-28 15:24:27 +03:00
clang \
2021-04-15 20:07:16 +03:00
cpp \
2020-06-02 18:28:57 +03:00
cyrus-sasl-devel \
dbus-devel \
device-mapper-devel \
2020-11-23 21:20:57 +03:00
diffutils \
2020-06-02 18:28:57 +03:00
dnsmasq \
dwarves \
ebtables \
2020-10-08 16:26:12 +03:00
firewalld-filesystem \
2020-06-02 18:28:57 +03:00
fuse-devel \
gcc \
gettext \
git \
glib2-devel \
glibc-devel \
glibc-langpack-en \
glusterfs-api-devel \
gnutls-devel \
2021-03-23 17:33:33 +03:00
grep \
2020-06-02 18:28:57 +03:00
iproute \
iproute-tc \
2021-02-11 14:13:48 +03:00
iptables \
2020-06-02 18:28:57 +03: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 15:28:25 +03:00
python3-pip \
2020-06-02 18:28:57 +03:00
python3-setuptools \
python3-wheel \
qemu-img \
radvd \
readline-devel \
rpcgen \
rpm-build \
sanlock-devel \
scrub \
2021-03-23 17:33:33 +03:00
sed \
2020-06-02 18:28:57 +03:00
systemtap-sdt-devel \
wireshark-devel \
xfsprogs-devel \
yajl-devel && \
dnf autoremove -y && \
dnf clean all -y && \
2020-12-14 18:24:37 +03:00
rpm -qa | sort > /packages.txt && \
2020-06-02 18:28:57 +03:00
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
2021-04-15 20:07:16 +03:00
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
2020-06-02 18:28:57 +03:00
2020-08-03 09:53:00 +03:00
RUN pip3 install \
2021-04-15 20:07:16 +03:00
meson = = 0.56.0
2020-08-03 09:53:00 +03:00
2020-06-02 18:28:57 +03: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"