Merge pull request #10562 from matt-kwong/pin-bazel-version-2

Pin Bazel version to 0.4.4 in Dockerfile
reviewable/pr9972/r8^2
Matt Kwong 8 years ago committed by GitHub
commit 380c3a7e1e
  1. 7
      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.

Loading…
Cancel
Save