aboutsummaryrefslogtreecommitdiff
path: root/extras/dockerfiles/common_install.sh
blob: 8f32478cb3d4b80f74350abf9dc1c03f54d62f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash

set -e

apt-get update -qq
apt-get install -y --no-install-recommends wget

wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -

# 1E9377A2BA9EF27F is the key for the ubuntu-toolchain-r PPA.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F | cat

# 15CF4D18AF4F7421 is the key for the http://apt.llvm.org/artful PPA.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421 | cat

apt-get update -qq
apt-get install -y --allow-unauthenticated --no-install-recommends \
    file \
    valgrind \
    make \
    cmake \
    libboost-dev \
    g++-5 \
    clang-3.8 \
    clang-3.9 \
    clang-4.0 \
    libc++-dev \
    python3-pip \
    python3-setuptools \
    dirmngr
    
pip3 install --upgrade pip
pip3 install wheel
pip3 install pytest
pip3 install pytest-xdist
pip3 install sh