mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2026-01-15 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>
39 lines
1.1 KiB
Docker
39 lines
1.1 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool manifest ci/manifest.yml
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
FROM registry.opensuse.org/opensuse/leap:15.6
|
|
|
|
RUN zypper update -y && \
|
|
zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \
|
|
zypper install -y \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
git \
|
|
glibc-locale \
|
|
libvirt-devel \
|
|
pkgconfig \
|
|
python3-base \
|
|
python3-devel \
|
|
python3-lxml \
|
|
python3-pip \
|
|
python3-pytest \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
rpm-build && \
|
|
zypper clean --all && \
|
|
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
|
|
|
|
RUN /usr/bin/pip3 install build
|
|
|
|
ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
|
|
ENV LANG="en_US.UTF-8"
|
|
ENV PYTHON="/usr/bin/python3"
|