1FROM fedora:29
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    libssh2-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-libssh2 \
54    mingw32-libtasn1 \
55    mingw32-nettle \
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-libssh2 \
68    mingw64-libtasn1 \
69    mingw64-nettle \
70    mingw64-pixman \
71    mingw64-pkg-config \
72    mingw64-SDL2 \
73    ncurses-devel \
74    nettle-devel \
75    nss-devel \
76    numactl-devel \
77    perl \
78    perl-Test-Harness \
79    pixman-devel \
80    python3 \
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    usbredir-devel \
91    virglrenderer-devel \
92    vte291-devel \
93    which \
94    xen-devel \
95    zlib-devel
96ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
97
98RUN dnf install -y $PACKAGES
99RUN rpm -q $PACKAGES | sort > /packages.txt
100ENV FEATURES mingw clang pyyaml asan
101