mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2026-01-22 16:32:46 +03:00
This drops Fedora 40 and introduces Fedora 42 and drops deprecated setting of env vars in dockerfiles. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
49 lines
1.4 KiB
Docker
49 lines
1.4 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 && \
|
|
printf '#!/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 "$@"\n' > /usr/bin/nosync && \
|
|
chmod +x /usr/bin/nosync && \
|
|
nosync dnf distro-sync -y && \
|
|
nosync dnf install -y \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
git \
|
|
glibc-langpack-en \
|
|
libvirt-devel \
|
|
pkgconfig \
|
|
python3 \
|
|
python3-build \
|
|
python3-devel \
|
|
python3-lxml \
|
|
python3-pip \
|
|
python3-pytest \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
rpm-build && \
|
|
nosync dnf autoremove -y && \
|
|
nosync dnf clean all -y && \
|
|
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
|
|
rpm -qa | sort > /packages.txt && \
|
|
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/gcc
|
|
|
|
ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
|
|
ENV LANG="en_US.UTF-8"
|
|
ENV PYTHON="/usr/bin/python3"
|