Skip to content

Commit

Permalink
Upgrade Docker image to Ubuntu 16.04 LTS, add bazel and deps.
Browse files Browse the repository at this point in the history
This is in support of Bazelifying the build (envoyproxy#415).
  • Loading branch information
htuch committed Mar 15, 2017
1 parent fd58242 commit fa29da4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build_container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ubuntu:trusty
FROM ubuntu:xenial
COPY ./build_container.sh /
RUN ./build_container.sh
7 changes: 7 additions & 0 deletions ci/build_container/build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ apt-get install -y gdb strace
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install -y g++-4.9
# 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 -
apt-get update
apt-get install -y bazel
apt-get upgrade -y bazel
rm -rf /var/lib/apt/lists/*

# virtualenv
Expand Down

0 comments on commit fa29da4

Please sign in to comment.