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    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    libcap-devel \
27    libcap-ng-devel \
28    libcurl-devel \
29    libfdt-devel \
30    libjpeg-devel \
31    libpng-devel \
32    librbd-devel \
33    libssh2-devel \
34    libubsan \
35    libusbx-devel \
36    libxml2-devel \
37    llvm \
38    lzo-devel \
39    make \
40    mingw32-bzip2 \
41    mingw32-curl \
42    mingw32-glib2 \
43    mingw32-gmp \
44    mingw32-gnutls \
45    mingw32-gtk3 \
46    mingw32-libjpeg-turbo \
47    mingw32-libpng \
48    mingw32-libssh2 \
49    mingw32-libtasn1 \
50    mingw32-nettle \
51    mingw32-pixman \
52    mingw32-pkg-config \
53    mingw32-SDL2 \
54    mingw64-bzip2 \
55    mingw64-curl \
56    mingw64-glib2 \
57    mingw64-gmp \
58    mingw64-gnutls \
59    mingw64-gtk3 \
60    mingw64-libjpeg-turbo \
61    mingw64-libpng \
62    mingw64-libssh2 \
63    mingw64-libtasn1 \
64    mingw64-nettle \
65    mingw64-pixman \
66    mingw64-pkg-config \
67    mingw64-SDL2 \
68    ncurses-devel \
69    nettle-devel \
70    nss-devel \
71    numactl-devel \
72    perl \
73    perl-Test-Harness \
74    pixman-devel \
75    python3 \
76    PyYAML \
77    SDL2-devel \
78    snappy-devel \
79    sparse \
80    spice-server-devel \
81    systemtap-sdt-devel \
82    tar \
83    usbredir-devel \
84    virglrenderer-devel \
85    vte291-devel \
86    which \
87    xen-devel \
88    zlib-devel
89ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
90
91RUN dnf install -y $PACKAGES
92RUN rpm -q $PACKAGES | sort > /packages.txt
93ENV FEATURES mingw clang pyyaml asan
94