diff options
author | Matt Kwong <mattkwong@google.com> | 2017-04-10 14:34:39 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2017-04-10 14:34:39 -0700 |
commit | 5101b3f7cf87c9b2f9e6c5c4bb4c1023dcb999b2 (patch) | |
tree | 94dade2a30c825925e56ad95a248f90a37b69303 | |
parent | 2dfc3af405f3cca65291d239755be0c5e6ed13e7 (diff) |
Pin Bazel version to 0.4.4 in Dockerfile
-rw-r--r-- | tools/dockerfile/test/bazel/Dockerfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/dockerfile/test/bazel/Dockerfile b/tools/dockerfile/test/bazel/Dockerfile index cc41384833..6ea8ef316c 100644 --- a/tools/dockerfile/test/bazel/Dockerfile +++ b/tools/dockerfile/test/bazel/Dockerfile @@ -72,6 +72,13 @@ RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - RUN apt-get -y update RUN apt-get -y install bazel +# Pin Bazel to 0.4.4 +# Installing Bazel via apt-get first is required before installing 0.4.4 to +# allow gRPC to build without errors. See https://github.com/grpc/grpc/issues/10553 +RUN curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/0.4.4/bazel-0.4.4-installer-linux-x86_64.sh +RUN chmod +x ./bazel-0.4.4-installer-linux-x86_64.sh +RUN ./bazel-0.4.4-installer-linux-x86_64.sh + RUN mkdir -p /var/local/jenkins # Define the default command. |