1FROM fedora:30
2ENV PACKAGES \
3    bc \
4    bison \
5    brlapi-devel \
6    bzip2 \
7    bzip2-devel \
8    ccache \
9    clang \
10    cyrus-sasl-devel \
11    dbus-daemon \
12    device-mapper-multipath-devel \
13    findutils \
14    flex \
15    gcc \
16    gcc-c++ \
17    gettext \
18    git \
19    glib2-devel \
20    glusterfs-api-devel \
21    gnutls-devel \
22    gtk3-devel \
23    hostname \
24    libaio-devel \
25    libasan \
26    libattr-devel \
27    libblockdev-mpath-devel \
28    libcap-ng-devel \
29    libcurl-devel \
30    libfdt-devel \
31    libiscsi-devel \
32    libjpeg-devel \
33    libpmem-devel \
34    libpng-devel \
35    librbd-devel \
36    libseccomp-devel \
37    libssh-devel \
38    libubsan \
39    libusbx-devel \
40    libxml2-devel \
41    llvm \
42    lzo-devel \
43    make \
44    mingw32-bzip2 \
45    mingw32-curl \
46    mingw32-glib2 \
47    mingw32-gmp \
48    mingw32-gnutls \
49    mingw32-gtk3 \
50    mingw32-libjpeg-turbo \
51    mingw32-libpng \
52    mingw32-libtasn1 \
53    mingw32-nettle \
54    mingw32-nsis \
55    mingw32-pixman \
56    mingw32-pkg-config \
57    mingw32-SDL2 \
58    mingw64-bzip2 \
59    mingw64-curl \
60    mingw64-glib2 \
61    mingw64-gmp \
62    mingw64-gnutls \
63    mingw64-gtk3 \
64    mingw64-libjpeg-turbo \
65    mingw64-libpng \
66    mingw64-libtasn1 \
67    mingw64-nettle \
68    mingw64-pixman \
69    mingw64-pkg-config \
70    mingw64-SDL2 \
71    ncurses-devel \
72    nettle-devel \
73    nss-devel \
74    numactl-devel \
75    perl \
76    perl-Test-Harness \
77    pixman-devel \
78    python3 \
79    python3-sphinx \
80    PyYAML \
81    rdma-core-devel \
82    SDL2-devel \
83    snappy-devel \
84    sparse \
85    spice-server-devel \
86    systemd-devel \
87    systemtap-sdt-devel \
88    tar \
89    texinfo \
90    usbredir-devel \
91    virglrenderer-devel \
92    vte291-devel \
93    which \
94    xen-devel \
95    zlib-devel \
96    libzstd-devel
97ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
98
99RUN dnf install -y $PACKAGES
100RUN rpm -q $PACKAGES | sort > /packages.txt
101ENV PATH $PATH:/usr/libexec/python3-sphinx/
102ENV FEATURES mingw clang pyyaml asan
103