diff options
Diffstat (limited to 'extras/dockerfiles/ubuntu-20.04_install.sh')
-rw-r--r-- | extras/dockerfiles/ubuntu-20.04_install.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extras/dockerfiles/ubuntu-20.04_install.sh b/extras/dockerfiles/ubuntu-20.04_install.sh new file mode 100644 index 0000000..b671533 --- /dev/null +++ b/extras/dockerfiles/ubuntu-20.04_install.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +set -e + +cat <<EOF >/etc/apt/sources.list.d/ubuntu-20.04_custom.list +# i386 not available +deb http://apt.llvm.org/focal/ llvm-toolchain-focal main +deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal main +deb http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main +deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main +deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main +deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main +EOF + +apt-get update + +apt-get install -y --allow-unauthenticated --no-install-recommends \ + g++-7 \ + g++-8 \ + g++-9 \ + g++-10 \ + clang-6.0 \ + clang-7 \ + clang-8 \ + clang-9 \ + clang-10 \ + python \ + python3-sh \ + python3-typed-ast \ + clang-tidy \ + clang-format |