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