FROM fedora:28 RUN dnf install -y gcc \ flex \ meson \ bison \ gtk-doc \ xdotool \ gsl-devel \ kmod-devel \ glib2-devel \ cairo-devel \ ninja-build \ procps-devel \ pixman-devel \ json-c-devel \ libdrm-devel \ libudev-devel \ xmlrpc-c-devel \ elfutils-devel \ libunwind-devel \ python-docutils \ libpciaccess-devel \ alsa-lib-devel \ valgrind-devel \ libXrandr-devel \ libXv-devel # We need peg to build overlay RUN dnf install -y make RUN mkdir /tmp/peg WORKDIR /tmp/peg RUN curl -O http://piumarta.com/software/peg/peg-0.1.18.tar.gz RUN tar xf peg-0.1.18.tar.gz RUN cd peg-0.1.18 && make PREFIX=/usr install RUN rm -fr /tmp/peg # Meson version switching shenanigans WORKDIR /usr/src RUN curl -O https://files.pythonhosted.org/packages/17/d0/0fe98a9557a2f07dbe6f99ef57f2bc37450b641e1f6ceae9ce04c3c845dd/meson-0.46.0.tar.gz # Cleanup workdir WORKDIR /