-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.fedora
43 lines (39 loc) · 905 Bytes
/
Dockerfile.fedora
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
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/17/d0/0fe98a9557a2f07dbe6f99ef57f2bc37450b641e1f6ceae9ce04c3c845dd/meson-0.46.0.tar.gz
# Cleanup workdir
WORKDIR /