blob: 08a4bd22434e4fd2ecaf2c64078adcc4c3b20959 [file] [log] [blame]
Arkadiusz Hilerfa6dbf82018-09-28 16:05:59 +03001FROM fedora:28
2
3RUN 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 Hilerd445be02018-10-24 14:47:02 +030013 ninja-build \
Arkadiusz Hilerfa6dbf82018-09-28 16:05:59 +030014 procps-devel \
15 pixman-devel \
16 json-c-devel \
17 libdrm-devel \
Arkadiusz Hilerfa6dbf82018-09-28 16:05:59 +030018 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
30RUN dnf install -y make
31RUN mkdir /tmp/peg
32WORKDIR /tmp/peg
33RUN curl -O http://piumarta.com/software/peg/peg-0.1.18.tar.gz
34RUN tar xf peg-0.1.18.tar.gz
35RUN cd peg-0.1.18 && make PREFIX=/usr install
36RUN rm -fr /tmp/peg
Arkadiusz Hilerd445be02018-10-24 14:47:02 +030037
38# Meson version switching shenanigans
39WORKDIR /usr/src
40RUN curl -O https://files.pythonhosted.org/packages/c0/98/bcbda7862f8ca18dbdaa57b9c51cf7333cdc59b48278ed279217cd6ad8ff/meson-0.44.0.tar.gz
41
42# Cleanup workdir
43WORKDIR /