diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-10-30 21:08:06 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-10-30 21:09:10 +0100 |
commit | 4de6dac703fe098481a8f4c91bcb2dae52ae0031 (patch) | |
tree | e0dc47e8bab7c4c1b6d58f41d1a691110e9dc121 /templates | |
parent | 53df56529bfb30214ece3ad5d90c07aa323d776b (diff) |
upgrade bazel in Dockerfile to 0.17.1
Diffstat (limited to 'templates')
-rw-r--r-- | templates/tools/dockerfile/bazel.include | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/tools/dockerfile/bazel.include b/templates/tools/dockerfile/bazel.include index ee4f9556af..c7714f5663 100644 --- a/templates/tools/dockerfile/bazel.include +++ b/templates/tools/dockerfile/bazel.include @@ -1,5 +1,6 @@ #======================== # Bazel installation -RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list -RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - -RUN apt-get -y update && apt-get -y install bazel=0.15.0 && apt-get clean + +RUN apt-get update && apt-get install -y wget && apt-get clean +RUN wget -q https://github.com/bazelbuild/bazel/releases/download/0.17.1/bazel-0.17.1-linux-x86_64 -O /usr/local/bin/bazel +RUN chmod 755 /usr/local/bin/bazel |