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 libcbor-devel \ 51 libcmocka-devel \ 52 libcurl-devel \ 53 libdrm-devel \ 54 libepoxy-devel \ 55 libfdt-devel \ 56 libffi-devel \ 57 libgcrypt-devel \ 58 libgnutls-devel \ 59 libiscsi-devel \ 60 libjpeg8-devel \ 61 libjson-c-devel \ 62 libndctl-devel \ 63 libnettle-devel \ 64 libnfs-devel \ 65 libnuma-devel \ 66 libpixman-1-0-devel \ 67 libpmem-devel \ 68 libpng16-devel \ 69 libpulse-devel \ 70 librbd-devel \ 71 libseccomp-devel \ 72 libselinux-devel \ 73 libslirp-devel \ 74 libspice-server-devel \ 75 libssh-devel \ 76 libtasn1-devel \ 77 libubsan1 \ 78 libudev-devel \ 79 liburing-devel \ 80 libusb-1_0-devel \ 81 libzstd-devel \ 82 llvm \ 83 lttng-ust-devel \ 84 lzo-devel \ 85 make \ 86 mtools \ 87 ncat \ 88 ncurses-devel \ 89 ninja \ 90 openssh \ 91 pam-devel \ 92 pcre-devel-static \ 93 pipewire-devel \ 94 pkgconfig \ 95 python311 \ 96 python311-base \ 97 python311-pip \ 98 python311-setuptools \ 99 rdma-core-devel \ 100 rust \ 101 rust-bindgen \ 102 sed \ 103 snappy-devel \ 104 sndio-devel \ 105 socat \ 106 sparse \ 107 spice-protocol-devel \ 108 swtpm \ 109 systemd-devel \ 110 systemtap-sdt-devel \ 111 tar \ 112 tesseract-ocr \ 113 tesseract-ocr-traineddata-english \ 114 usbredir-devel \ 115 util-linux \ 116 virglrenderer-devel \ 117 vte-devel \ 118 which \ 119 xen-devel \ 120 xorriso \ 121 zlib-devel \ 122 zlib-devel-static \ 123 zstd && \ 124 zypper clean --all && \ 125 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \ 126 rpm -qa | sort > /packages.txt && \ 127 mkdir -p /usr/libexec/ccache-wrappers && \ 128 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ 129 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ 130 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc 131 132RUN /usr/bin/pip3.11 install \ 133 PyYAML \ 134 meson==1.5.0 \ 135 pillow \ 136 sphinx \ 137 sphinx-rtd-theme 138 139ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" 140ENV LANG "en_US.UTF-8" 141ENV MAKE "/usr/bin/make" 142ENV NINJA "/usr/bin/ninja" 143ENV PYTHON "/usr/bin/python3.11" 144# As a final step configure the user (if env is defined) 145ARG USER 146ARG UID 147RUN if [ "${USER}" ]; then \ 148 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi 149