ci: add arm_test-base docker image
[mesa.git] / .gitlab-ci / container / x86_test-base.sh
1 #!/bin/bash
2
3 set -e
4 set -o xtrace
5
6 export DEBIAN_FRONTEND=noninteractive
7
8 apt-get install -y \
9 ca-certificates \
10 gnupg
11
12 # Upstream LLVM package repository
13 apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key
14 echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list
15
16 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
17 echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
18
19 apt-get update
20 apt-get dist-upgrade -y
21
22 apt-get install -y --no-remove \
23 git \
24 git-lfs \
25 libexpat1 \
26 libllvm9 \
27 liblz4-1 \
28 libpcre32-3 \
29 libpng16-16 \
30 libpython3.7 \
31 libvulkan1 \
32 libwayland-client0 \
33 libwayland-server0 \
34 libxcb-ewmh2 \
35 libxcb-randr0 \
36 libxcb-keysyms1 \
37 libxcb-xfixes0 \
38 libxkbcommon0 \
39 libxrandr2 \
40 libxrender1 \
41 python \
42 python3-mako \
43 python3-numpy \
44 python3-pil \
45 python3-pytest \
46 python3-requests \
47 python3-six \
48 python3-yaml \
49 python3.7 \
50 qt5-default \
51 qt5-qmake \
52 vulkan-tools \
53 waffle-utils \
54 xauth \
55 xvfb \
56 zlib1g
57
58 apt-get purge -y \
59 gnupg
60
61 apt-get autoremove -y --purge