1FROM fedora:27
2ENV PACKAGES \
3    ccache gettext git tar PyYAML sparse flex bison python3 bzip2 hostname \
4    glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \
5    gcc gcc-c++ llvm clang make perl which bc findutils libaio-devel \
6    nettle-devel libasan libubsan \
7    mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \
8    mingw32-gtk2 mingw32-gtk3 mingw32-gnutls mingw32-nettle mingw32-libtasn1 \
9    mingw32-libjpeg-turbo mingw32-libpng mingw32-curl mingw32-libssh2 \
10    mingw32-bzip2 \
11    mingw64-pixman mingw64-glib2 mingw64-gmp mingw64-SDL mingw64-pkg-config \
12    mingw64-gtk2 mingw64-gtk3 mingw64-gnutls mingw64-nettle mingw64-libtasn1 \
13    mingw64-libjpeg-turbo mingw64-libpng mingw64-curl mingw64-libssh2 \
14    mingw64-bzip2
15ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
16
17RUN dnf install -y $PACKAGES
18RUN rpm -q $PACKAGES | sort > /packages.txt
19ENV FEATURES mingw clang pyyaml asan
20