mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
a0491637e1
Notable changes: * cross-building container images are smaller because they no longer include the native compilers; * ccache is enabled for clang builds. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
107 lines
2.7 KiB
Docker
107 lines
2.7 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool dockerfile opensuse-152 libvirt
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea
|
|
|
|
FROM registry.opensuse.org/opensuse/leap:15.2
|
|
|
|
RUN zypper update -y && \
|
|
zypper install -y \
|
|
audit-devel \
|
|
augeas \
|
|
augeas-lenses \
|
|
avahi-devel \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
clang \
|
|
cpp \
|
|
cppi \
|
|
cyrus-sasl-devel \
|
|
dbus-1-devel \
|
|
device-mapper-devel \
|
|
diffutils \
|
|
dnsmasq \
|
|
dwarves \
|
|
ebtables \
|
|
fuse-devel \
|
|
gcc \
|
|
gettext-runtime \
|
|
git \
|
|
glib2-devel \
|
|
glibc-devel \
|
|
glibc-locale \
|
|
glusterfs-devel \
|
|
grep \
|
|
iproute2 \
|
|
iptables \
|
|
kmod \
|
|
libacl-devel \
|
|
libapparmor-devel \
|
|
libattr-devel \
|
|
libblkid-devel \
|
|
libcap-ng-devel \
|
|
libcurl-devel \
|
|
libgnutls-devel \
|
|
libiscsi-devel \
|
|
libnl3-devel \
|
|
libnuma-devel \
|
|
libpcap-devel \
|
|
libpciaccess-devel \
|
|
librbd-devel \
|
|
libselinux-devel \
|
|
libssh-devel \
|
|
libssh2-devel \
|
|
libtirpc-devel \
|
|
libudev-devel \
|
|
libwsman-devel \
|
|
libxml2 \
|
|
libxml2-devel \
|
|
libxslt \
|
|
libyajl-devel \
|
|
lvm2 \
|
|
make \
|
|
nfs-utils \
|
|
ninja \
|
|
numad \
|
|
open-iscsi \
|
|
parted \
|
|
parted-devel \
|
|
perl \
|
|
pkgconfig \
|
|
polkit \
|
|
python3-base \
|
|
python3-docutils \
|
|
python3-flake8 \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
qemu-tools \
|
|
radvd \
|
|
readline-devel \
|
|
rpcgen \
|
|
rpm-build \
|
|
sanlock-devel \
|
|
scrub \
|
|
sed \
|
|
systemtap-sdt-devel \
|
|
wireshark-devel \
|
|
xen-devel \
|
|
xfsprogs-devel && \
|
|
zypper clean --all && \
|
|
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/clang && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
|
|
|
RUN pip3 install \
|
|
meson==0.56.0
|
|
|
|
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"
|