aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/test/bazel
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-04-10 14:34:39 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-04-10 14:34:39 -0700
commit5101b3f7cf87c9b2f9e6c5c4bb4c1023dcb999b2 (patch)
tree94dade2a30c825925e56ad95a248f90a37b69303 /tools/dockerfile/test/bazel
parent2dfc3af405f3cca65291d239755be0c5e6ed13e7 (diff)
Pin Bazel version to 0.4.4 in Dockerfile
Diffstat (limited to 'tools/dockerfile/test/bazel')
-rw-r--r--tools/dockerfile/test/bazel/Dockerfile7
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.