Skip to content

Commit

Permalink
ci: update clang to version 6.0 in the Ubuntu build image. (envoyprox…
Browse files Browse the repository at this point in the history
…y#4157)

*Risk Level*: Low
*Testing*: Successful build using new image.
*Docs Changes*: n/a
*Release Notes*: n/a

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora authored and mattklein123 committed Aug 16, 2018
1 parent 71152b7 commit 2db6a4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/build_container/build_container_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y wget software-properties-common make cmake git python python-pip \
bc libtool ninja-build automake zip time golang g++ gdb strace wireshark tshark
# clang head (currently 5.0)
# clang 6.0.
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main"
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
apt-get update
apt-get install -y clang-5.0 clang-format-5.0
# Bazel 0.10.0 and related dependencies.
apt-get install -y clang-6.0 clang-format-6.0
# Bazel and related dependencies.
apt-get install -y openjdk-8-jdk curl
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
Expand Down

0 comments on commit 2db6a4c

Please sign in to comment.