summaryrefslogtreecommitdiff
path: root/Dockerfile.fedora
blob: 652a36c32ca1d755f89d5f08447989a123789e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 \
		openssl-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 /