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