1FROM fedora:28
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    pixman-devel \
74    python3 \
75    PyYAML \
76    SDL2-devel \
77    snappy-devel \
78    sparse \
79    spice-server-devel \
80    systemtap-sdt-devel \
81    tar \
82    usbredir-devel \
83    virglrenderer-devel \
84    vte3-devel \
85    which \
86    xen-devel \
87    zlib-devel
88ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
89
90RUN dnf install -y $PACKAGES
91RUN rpm -q $PACKAGES | sort > /packages.txt
92ENV FEATURES mingw clang pyyaml asan
93