Skip to content

Commit

Permalink
Upgrade Docker image to Ubuntu 16.04 LTS, add bazel and deps. (#575)
Browse files Browse the repository at this point in the history
This is in support of Bazelifying the build (#415).
  • Loading branch information
htuch authored and mattklein123 committed Mar 15, 2017
1 parent fd58242 commit a8e60b4
Show file tree
Hide file tree
Showing 2 changed files with 7 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
6 changes: 6 additions & 0 deletions ci/build_container/build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ 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
rm -rf /var/lib/apt/lists/*

# virtualenv
Expand Down

0 comments on commit a8e60b4

Please sign in to comment.