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