]> git.proxmox.com Git - mirror_qemu.git/blob - tests/docker/dockerfiles/centos8.docker
spapr: Remove support for NVIDIA V100 GPU with NVLink2
[mirror_qemu.git] / tests / docker / dockerfiles / centos8.docker
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool dockerfile --layers all centos-stream-8 qemu
4 #
5 # https://gitlab.com/libvirt/libvirt-ci
6
7 FROM quay.io/centos/centos:stream8
8
9 RUN dnf distro-sync -y && \
10 dnf install 'dnf-command(config-manager)' -y && \
11 dnf config-manager --set-enabled -y powertools && \
12 dnf install -y centos-release-advanced-virtualization && \
13 dnf install -y epel-release && \
14 dnf install -y epel-next-release && \
15 dnf install -y \
16 SDL2-devel \
17 alsa-lib-devel \
18 bash \
19 bc \
20 bison \
21 brlapi-devel \
22 bzip2 \
23 bzip2-devel \
24 ca-certificates \
25 capstone-devel \
26 ccache \
27 clang \
28 ctags \
29 cyrus-sasl-devel \
30 daxctl-devel \
31 dbus-daemon \
32 device-mapper-multipath-devel \
33 diffutils \
34 findutils \
35 flex \
36 fuse3-devel \
37 gcc \
38 gcc-c++ \
39 gettext \
40 git \
41 glib2-devel \
42 glib2-static \
43 glibc-langpack-en \
44 glibc-static \
45 glusterfs-api-devel \
46 gnutls-devel \
47 gtk3-devel \
48 hostname \
49 jemalloc-devel \
50 json-c-devel \
51 libaio-devel \
52 libasan \
53 libattr-devel \
54 libbpf-devel \
55 libcacard-devel \
56 libcap-ng-devel \
57 libcmocka-devel \
58 libcurl-devel \
59 libdrm-devel \
60 libepoxy-devel \
61 libfdt-devel \
62 libffi-devel \
63 libgcrypt-devel \
64 libiscsi-devel \
65 libjpeg-devel \
66 libnfs-devel \
67 libpmem-devel \
68 libpng-devel \
69 librbd-devel \
70 libseccomp-devel \
71 libselinux-devel \
72 libslirp-devel \
73 libssh-devel \
74 libtasn1-devel \
75 libubsan \
76 liburing-devel \
77 libusbx-devel \
78 libzstd-devel \
79 llvm \
80 lttng-ust-devel \
81 lzo-devel \
82 make \
83 mesa-libgbm-devel \
84 mtools \
85 ncurses-devel \
86 nettle-devel \
87 ninja-build \
88 nmap-ncat \
89 numactl-devel \
90 openssh-clients \
91 pam-devel \
92 pcre-static \
93 pipewire-devel \
94 pixman-devel \
95 pkgconfig \
96 pulseaudio-libs-devel \
97 python38 \
98 python38-PyYAML \
99 python38-numpy \
100 python38-pip \
101 python38-setuptools \
102 python38-wheel \
103 rdma-core-devel \
104 sed \
105 snappy-devel \
106 socat \
107 spice-protocol \
108 spice-server-devel \
109 systemd-devel \
110 systemtap-sdt-devel \
111 tar \
112 usbredir-devel \
113 util-linux \
114 virglrenderer-devel \
115 vte291-devel \
116 which \
117 xfsprogs-devel \
118 xorriso \
119 zlib-devel \
120 zlib-static \
121 zstd && \
122 dnf autoremove -y && \
123 dnf clean all -y && \
124 rpm -qa | sort > /packages.txt && \
125 mkdir -p /usr/libexec/ccache-wrappers && \
126 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
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/g++ && \
130 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
131
132 RUN /usr/bin/pip3.8 install \
133 meson==0.63.2 \
134 pillow \
135 sphinx \
136 sphinx-rtd-theme \
137 tomli
138
139 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
140 ENV LANG "en_US.UTF-8"
141 ENV MAKE "/usr/bin/make"
142 ENV NINJA "/usr/bin/ninja"
143 ENV PYTHON "/usr/bin/python3.8"
144 # As a final step configure the user (if env is defined)
145 ARG USER
146 ARG UID
147 RUN if [ "${USER}" ]; then \
148 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi