tests/docker: add python3-setuptools the docker images
[qemu.git] / tests / docker / dockerfiles / ubuntu2004.docker
1 FROM ubuntu:20.04
2 ENV PACKAGES flex bison \
3     ccache \
4     clang-10\
5     gcc \
6     gettext \
7     git \
8     glusterfs-common \
9     libaio-dev \
10     libattr1-dev \
11     libbrlapi-dev \
12     libbz2-dev \
13     libcacard-dev \
14     libcap-ng-dev \
15     libcurl4-gnutls-dev \
16     libdrm-dev \
17     libepoxy-dev \
18     libfdt-dev \
19     libgbm-dev \
20     libgtk-3-dev \
21     libibverbs-dev \
22     libiscsi-dev \
23     libjemalloc-dev \
24     libjpeg-turbo8-dev \
25     liblzo2-dev \
26     libncurses5-dev \
27     libncursesw5-dev \
28     libnfs-dev \
29     libnss3-dev \
30     libnuma-dev \
31     libpixman-1-dev \
32     librados-dev \
33     librbd-dev \
34     librdmacm-dev \
35     libsasl2-dev \
36     libsdl2-dev \
37     libseccomp-dev \
38     libsnappy-dev \
39     libspice-protocol-dev \
40     libspice-server-dev \
41     libssh-dev \
42     libusb-1.0-0-dev \
43     libusbredirhost-dev \
44     libvdeplug-dev \
45     libvte-2.91-dev \
46     libxen-dev \
47     libzstd-dev \
48     make \
49     python3-numpy \
50     python3-opencv \
51     python3-pil \
52     python3-pip \
53     python3-sphinx \
54     python3-venv \
55     python3-yaml \
56     rpm2cpio \
57     sparse \
58     tesseract-ocr \
59     tesseract-ocr-eng \
60     texinfo \
61     xfslibs-dev\
62     vim
63 RUN apt-get update && \
64     DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES
65 RUN dpkg -l $PACKAGES | sort > /packages.txt
66 ENV FEATURES clang tsan pyyaml sdl2
67
68 # Apply patch https://reviews.llvm.org/D75820
69 # This is required for TSan in clang-10 to compile with QEMU.
70 RUN sed -i 's/^const/static const/g' /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h