1# THIS FILE WAS AUTO-GENERATED 2# 3# $ lcitool dockerfile --layers all opensuse-leap-15 qemu 4# 5# https://gitlab.com/libvirt/libvirt-ci 6 7FROM registry.opensuse.org/opensuse/leap:15.6 8 9RUN zypper update -y && \ 10 zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \ 11 zypper install -y \ 12 Mesa-devel \ 13 alsa-lib-devel \ 14 bash \ 15 bc \ 16 bison \ 17 brlapi-devel \ 18 bzip2 \ 19 ca-certificates \ 20 ccache \ 21 clang \ 22 ctags \ 23 cyrus-sasl-devel \ 24 dbus-1 \ 25 diffutils \ 26 findutils \ 27 flex \ 28 fuse3-devel \ 29 gcc \ 30 gcovr \ 31 gettext-runtime \ 32 git \ 33 glib2-devel \ 34 glibc-locale \ 35 glibc-static \ 36 glusterfs-devel \ 37 gtk-vnc-devel \ 38 gtk3-devel \ 39 hostname \ 40 jemalloc-devel \ 41 libSDL2-devel \ 42 libSDL2_image-devel \ 43 libaio-devel \ 44 libasan8 \ 45 libattr-devel \ 46 libbpf-devel \ 47 libbz2-devel \ 48 libcacard-devel \ 49 libcap-ng-devel \ 50 libcmocka-devel \ 51 libcurl-devel \ 52 libdrm-devel \ 53 libepoxy-devel \ 54 libfdt-devel \ 55 libffi-devel \ 56 libgcrypt-devel \ 57 libgnutls-devel \ 58 libiscsi-devel \ 59 libjpeg8-devel \ 60 libjson-c-devel \ 61 libndctl-devel \ 62 libnettle-devel \ 63 libnfs-devel \ 64 libnuma-devel \ 65 libpixman-1-0-devel \ 66 libpmem-devel \ 67 libpng16-devel \ 68 libpulse-devel \ 69 librbd-devel \ 70 libseccomp-devel \ 71 libselinux-devel \ 72 libslirp-devel \ 73 libspice-server-devel \ 74 libssh-devel \ 75 libtasn1-devel \ 76 libubsan1 \ 77 libudev-devel \ 78 liburing-devel \ 79 libusb-1_0-devel \ 80 libzstd-devel \ 81 llvm \ 82 lttng-ust-devel \ 83 lzo-devel \ 84 make \ 85 mtools \ 86 ncat \ 87 ncurses-devel \ 88 ninja \ 89 openssh \ 90 pam-devel \ 91 pcre-devel-static \ 92 pipewire-devel \ 93 pkgconfig \ 94 python311 \ 95 python311-base \ 96 python311-pip \ 97 python311-setuptools \ 98 rdma-core-devel \ 99 rust \ 100 rust-bindgen \ 101 sed \ 102 snappy-devel \ 103 sndio-devel \ 104 socat \ 105 sparse \ 106 spice-protocol-devel \ 107 swtpm \ 108 systemd-devel \ 109 systemtap-sdt-devel \ 110 tar \ 111 tesseract-ocr \ 112 tesseract-ocr-traineddata-english \ 113 usbredir-devel \ 114 util-linux \ 115 virglrenderer-devel \ 116 vte-devel \ 117 which \ 118 xen-devel \ 119 xorriso \ 120 zlib-devel \ 121 zlib-devel-static \ 122 zstd && \ 123 zypper clean --all && \ 124 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \ 125 rpm -qa | sort > /packages.txt && \ 126 mkdir -p /usr/libexec/ccache-wrappers && \ 127 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 128 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 129 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 130 131RUN /usr/bin/pip3.11 install \ 132 PyYAML \ 133 meson==1.5.0 \ 134 pillow \ 135 sphinx \ 136 sphinx-rtd-theme 137 138ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 139ENV LANG "en_US.UTF-8" 140ENV MAKE "/usr/bin/make" 141ENV NINJA "/usr/bin/ninja" 142ENV PYTHON "/usr/bin/python3.11" 143# As a final step configure the user (if env is defined) 144ARG USER 145ARG UID 146RUN if [ "${USER}" ]; then \ 147 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 148