diff options
author | Matt Kwong <matt-kwong@users.noreply.github.com> | 2017-04-11 11:46:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 11:46:06 -0700 |
commit | 380c3a7e1e801cf5a24164a518dc59d6c431f5db (patch) | |
tree | 5e8e7a9b6ea2a72b78b8d7d84babf3b6d9c55e48 /tools/dockerfile/test | |
parent | 5cb840246eee56b3284fcc2345431a98754e6325 (diff) | |
parent | 5101b3f7cf87c9b2f9e6c5c4bb4c1023dcb999b2 (diff) |
Merge pull request #10562 from matt-kwong/pin-bazel-version-2
Pin Bazel version to 0.4.4 in Dockerfile
Diffstat (limited to 'tools/dockerfile/test')
-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. |