blob: 08a4bd22434e4fd2ecaf2c64078adcc4c3b20959 [file] [log] [blame]
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/c0/98/bcbda7862f8ca18dbdaa57b9c51cf7333cdc59b48278ed279217cd6ad8ff/meson-0.44.0.tar.gz
# Cleanup workdir
WORKDIR /