forked from vliaskov/xorg-intel-gpu-tools
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile.build-fedora
50 lines (42 loc) · 1.33 KB
/
Dockerfile.build-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
44
45
46
47
48
49
50
FROM fedora:31
RUN dnf install -y \
gcc flex bison libatomic meson ninja-build xdotool \
'pkgconfig(libdrm)' \
'pkgconfig(pciaccess)' \
'pkgconfig(libkmod)' \
'pkgconfig(libprocps)' \
'pkgconfig(libunwind)' \
'pkgconfig(libdw)' \
'pkgconfig(pixman-1)' \
'pkgconfig(valgrind)' \
'pkgconfig(cairo)' \
'pkgconfig(libudev)' \
'pkgconfig(glib-2.0)' \
'pkgconfig(gsl)' \
'pkgconfig(alsa)' \
'pkgconfig(xmlrpc)' \
'pkgconfig(xmlrpc_util)' \
'pkgconfig(xmlrpc_client)' \
'pkgconfig(json-c)' \
'pkgconfig(gtk-doc)' \
'pkgconfig(xv)' \
'pkgconfig(xrandr)' \
python3-docutils
# We need peg to build overlay
RUN dnf install -y make
RUN mkdir /tmp/peg
# originaly from http://piumarta.com/software/peg/
RUN curl -o "/tmp/peg/#1" "https://intel-gfx-ci.01.org/mirror/peg/{peg-0.1.18.tar.gz}"
RUN tar -C /tmp/peg -xf /tmp/peg/peg-0.1.18.tar.gz
RUN make -C /tmp/peg/peg-0.1.18 PREFIX=/usr install
RUN rm -fr /tmp/peg
# For compile-testing on clang
RUN dnf install -y clang
# For test list comparison
RUN dnf install -y diffutils
# For the helpers for the container with IGT inside
RUN dnf install -y findutils
# Meson version switching shenanigans
RUN dnf install -y python3-pip
RUN curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/e8/ec/3e6a68c9e0fd4b4f4fb6877a3ccfb6f6e6d09f2b4fc87674e671bf64b7b8/{meson-0.47.2.tar.gz}"
RUN dnf clean all