1FROM fedora:30
2ENV PACKAGES \
3    bc \
4    bison \
5    bluez-libs-devel \
6    brlapi-devel \
7    bzip2 \
8    bzip2-devel \
9    ccache \
10    clang \
11    cyrus-sasl-devel \
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-devel \
29    libcap-ng-devel \
30    libcurl-devel \
31    libfdt-devel \
32    libiscsi-devel \
33    libjpeg-devel \
34    libpmem-devel \
35    libpng-devel \
36    librbd-devel \
37    libseccomp-devel \
38    libssh-devel \
39    libubsan \
40    libusbx-devel \
41    libxml2-devel \
42    llvm \
43    lzo-devel \
44    make \
45    mingw32-bzip2 \
46    mingw32-curl \
47    mingw32-glib2 \
48    mingw32-gmp \
49    mingw32-gnutls \
50    mingw32-gtk3 \
51    mingw32-libjpeg-turbo \
52    mingw32-libpng \
53    mingw32-libtasn1 \
54    mingw32-nettle \
55    mingw32-nsis \
56    mingw32-pixman \
57    mingw32-pkg-config \
58    mingw32-SDL2 \
59    mingw64-bzip2 \
60    mingw64-curl \
61    mingw64-glib2 \
62    mingw64-gmp \
63    mingw64-gnutls \
64    mingw64-gtk3 \
65    mingw64-libjpeg-turbo \
66    mingw64-libpng \
67    mingw64-libtasn1 \
68    mingw64-nettle \
69    mingw64-pixman \
70    mingw64-pkg-config \
71    mingw64-SDL2 \
72    ncurses-devel \
73    nettle-devel \
74    nss-devel \
75    numactl-devel \
76    perl \
77    perl-Test-Harness \
78    pixman-devel \
79    python3 \
80    python3-sphinx \
81    PyYAML \
82    rdma-core-devel \
83    SDL2-devel \
84    snappy-devel \
85    sparse \
86    spice-server-devel \
87    systemd-devel \
88    systemtap-sdt-devel \
89    tar \
90    texinfo \
91    usbredir-devel \
92    virglrenderer-devel \
93    vte291-devel \
94    which \
95    xen-devel \
96    zlib-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