diff options
author | matt-kwong <matt-kwong@users.noreply.github.com> | 2017-03-20 14:03:21 -0700 |
---|---|---|
committer | Abhishek Arya <inferno@chromium.org> | 2017-03-20 14:03:21 -0700 |
commit | c287418b4f23e39f28cd9f98c7e755d05e6770b7 (patch) | |
tree | f011de3597cdaf5d279e3a3ef39ed14996dc05ce /projects | |
parent | ec86fc2fa358b373131987e3b85fa08bef06963e (diff) |
Pin Bazel version to 0.4.4 for gRPC (#472)
Diffstat (limited to 'projects')
-rw-r--r-- | projects/grpc/Dockerfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/projects/grpc/Dockerfile b/projects/grpc/Dockerfile index 47a69f09..0a4a4688 100644 --- a/projects/grpc/Dockerfile +++ b/projects/grpc/Dockerfile @@ -31,8 +31,14 @@ RUN apt-get -y install \ # Install Bazel RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list -RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - +RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add - RUN apt-get update && apt-get install -y bazel +# Downgrade 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 +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 git clone --recursive https://github.com/grpc/grpc grpc WORKDIR /src/grpc/ |