Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / tests / docker / dockerfiles / opensuse-leap.docker
blobe359a4e5c19ca402262121624a3292d3c721c857
1 # THIS FILE WAS AUTO-GENERATED
3 #  $ lcitool dockerfile --layers all opensuse-leap-15 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM registry.opensuse.org/opensuse/leap:15.6
9 RUN 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            sed \
100            snappy-devel \
101            sndio-devel \
102            socat \
103            sparse \
104            spice-protocol-devel \
105            swtpm \
106            systemd-devel \
107            systemtap-sdt-devel \
108            tar \
109            tesseract-ocr \
110            tesseract-ocr-traineddata-english \
111            usbredir-devel \
112            util-linux \
113            virglrenderer-devel \
114            vte-devel \
115            which \
116            xen-devel \
117            xorriso \
118            zlib-devel \
119            zlib-devel-static \
120            zstd && \
121     zypper clean --all && \
122     rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
123     rpm -qa | sort > /packages.txt && \
124     mkdir -p /usr/libexec/ccache-wrappers && \
125     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
126     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
127     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
129 RUN /usr/bin/pip3.11 install \
130                      PyYAML \
131                      meson==1.5.0 \
132                      pillow \
133                      sphinx \
134                      sphinx-rtd-theme
136 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
137 ENV LANG "en_US.UTF-8"
138 ENV MAKE "/usr/bin/make"
139 ENV NINJA "/usr/bin/ninja"
140 ENV PYTHON "/usr/bin/python3.11"
141 # As a final step configure the user (if env is defined)
142 ARG USER
143 ARG UID
144 RUN if [ "${USER}" ]; then \
145   id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi