master
docker 148 lines 3.85 KB
Raw
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool dockerfile --layers all opensuse-leap-16 qemu
4 #
5 # https://gitlab.com/libvirt/libvirt-ci
6
7 FROM registry.opensuse.org/opensuse/leap:16.0
8
9 RUN 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 clang-devel \
22 coreutils \
23 ctags \
24 cyrus-sasl-devel \
25 dbus-1 \
26 diffutils \
27 findutils \
28 flex \
29 fuse3-devel \
30 gcc \
31 gcovr \
32 gettext-runtime \
33 git \
34 glib2-devel \
35 glibc-locale \
36 glibc-static \
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 libxdp-devel \
82 libzstd-devel \
83 llvm \
84 lttng-ust-devel \
85 lzo-devel \
86 make \
87 meson \
88 mtools \
89 ncurses-devel \
90 ninja \
91 openssh \
92 pam-devel \
93 pcre2-devel-static \
94 pipewire-devel \
95 pkgconfig \
96 python3-Sphinx \
97 python3-base \
98 python3-pip \
99 python3-setuptools \
100 python3-sphinx_rtd_theme \
101 python3-tomli \
102 python3-wheel \
103 rdma-core-devel \
104 rust \
105 rust-bindgen \
106 sed \
107 snappy-devel \
108 sndio-devel \
109 socat \
110 sparse \
111 spice-protocol-devel \
112 swtpm \
113 systemd-devel \
114 systemtap-dtrace \
115 tar \
116 tesseract-ocr \
117 tesseract-ocr-traineddata-english \
118 usbredir-devel \
119 util-linux \
120 virglrenderer-devel \
121 vte-devel \
122 vulkan-tools \
123 which \
124 xen-devel \
125 xorriso \
126 zlib-devel \
127 zlib-devel-static \
128 zstd && \
129 zypper clean --all && \
130 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
131 rpm -qa | sort > /packages.txt && \
132 mkdir -p /usr/libexec/ccache-wrappers && \
133 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
134 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
135 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
136
137 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
138 ENV LANG="en_US.UTF-8"
139 ENV MAKE="/usr/bin/make"
140 ENV NINJA="/usr/bin/ninja"
141 ENV PYTHON="/usr/bin/python3"
142 # As a final step configure the user (if env is defined)
143 ARG USER
144 ARG UID
145 RUN if [ "${USER}" ]; then \
146 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
147
148 ENV ENABLE_RUST=1