Dockerfile.fedora 905 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
FROM fedora:28

RUN dnf install -y gcc \
		flex \
		meson \
		bison  \
		gtk-doc \
		xdotool \
		gsl-devel \
		kmod-devel \
		glib2-devel \
		cairo-devel \
13
		ninja-build \
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
		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
37 38 39

# Meson version switching shenanigans
WORKDIR /usr/src
40
RUN curl -O https://files.pythonhosted.org/packages/17/d0/0fe98a9557a2f07dbe6f99ef57f2bc37450b641e1f6ceae9ce04c3c845dd/meson-0.46.0.tar.gz
41 42 43

# Cleanup workdir
WORKDIR /