1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2026-01-25 12:32:54 +03:00
Files
libvirt-python/ci/containers/fedora-43.Dockerfile
Michal Privoznik 4e4f3d9f7a ci: refresh with 'lcitool manifest'
This drops Fedora 41 and introduces Fedora 43.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-11-21 15:27:12 +01:00

48 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:43
RUN 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 update -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"