diff options
author | Michel Dänzer <[email protected]> | 2019-04-02 16:56:54 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2019-04-16 10:14:21 +0200 |
commit | d00b1c45117564087a501167601d252e57aba39d (patch) | |
tree | d0d7139164fca73b97c9526af95a29597df7f6b6 /.gitlab-ci | |
parent | 1c5ff3a6d07fd0b6581b29d73f5530b1a7de5657 (diff) |
gitlab-ci: Use Debian stretch instead of Ubuntu bionic
The APT archive used by the Ubuntu docker image can be slow, even timing
out sometimes, causing spurious failures of the containers-build job.
The Debian docker image uses deb.debian.org, which is backed by a
content distribution network.
One downside is that stretch only has GCC 6, whereas bionic had 7.
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/debian-install.sh (renamed from .gitlab-ci/ubuntu-install.sh) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci/ubuntu-install.sh b/.gitlab-ci/debian-install.sh index 7d83e6be18d..229a58f40f3 100644 --- a/.gitlab-ci/ubuntu-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -12,10 +12,14 @@ apt-get install -y \ software-properties-common curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - -add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" +add-apt-repository "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main" + +echo 'deb http://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list apt-get update -apt-get install -y \ +apt-get install -y -t stretch-backports \ + bzip2 \ + zlib1g-dev \ pkg-config \ libdrm-dev \ libpciaccess-dev \ |