Arkadiusz Hiler | fa6dbf8 | 2018-09-28 16:05:59 +0300 | [diff] [blame] | 1 | FROM fedora:28 |
| 2 | |
| 3 | RUN dnf install -y gcc \ |
| 4 | flex \ |
| 5 | meson \ |
| 6 | bison \ |
| 7 | gtk-doc \ |
| 8 | xdotool \ |
| 9 | gsl-devel \ |
| 10 | kmod-devel \ |
| 11 | glib2-devel \ |
| 12 | cairo-devel \ |
Arkadiusz Hiler | d445be0 | 2018-10-24 14:47:02 +0300 | [diff] [blame] | 13 | ninja-build \ |
Arkadiusz Hiler | fa6dbf8 | 2018-09-28 16:05:59 +0300 | [diff] [blame] | 14 | procps-devel \ |
| 15 | pixman-devel \ |
| 16 | json-c-devel \ |
| 17 | libdrm-devel \ |
Arkadiusz Hiler | fa6dbf8 | 2018-09-28 16:05:59 +0300 | [diff] [blame] | 18 | libudev-devel \ |
| 19 | xmlrpc-c-devel \ |
| 20 | elfutils-devel \ |
| 21 | libunwind-devel \ |
| 22 | python-docutils \ |
| 23 | libpciaccess-devel \ |
| 24 | alsa-lib-devel \ |
| 25 | valgrind-devel \ |
| 26 | libXrandr-devel \ |
| 27 | libXv-devel |
| 28 | |
| 29 | # We need peg to build overlay |
| 30 | RUN dnf install -y make |
| 31 | RUN mkdir /tmp/peg |
| 32 | WORKDIR /tmp/peg |
| 33 | RUN curl -O http://piumarta.com/software/peg/peg-0.1.18.tar.gz |
| 34 | RUN tar xf peg-0.1.18.tar.gz |
| 35 | RUN cd peg-0.1.18 && make PREFIX=/usr install |
| 36 | RUN rm -fr /tmp/peg |
Arkadiusz Hiler | d445be0 | 2018-10-24 14:47:02 +0300 | [diff] [blame] | 37 | |
| 38 | # Meson version switching shenanigans |
| 39 | WORKDIR /usr/src |
| 40 | RUN curl -O https://files.pythonhosted.org/packages/c0/98/bcbda7862f8ca18dbdaa57b9c51cf7333cdc59b48278ed279217cd6ad8ff/meson-0.44.0.tar.gz |
| 41 | |
| 42 | # Cleanup workdir |
| 43 | WORKDIR / |