#!/bin/bash set -e set -o xtrace export DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates \ gnupg # Upstream LLVM package repository apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list apt-get update # Use newer packages from backports by default cat >/etc/apt/preferences <