mirror of https://github.com/google/oss-fuzz.git
Pin Bazel version to 0.4.4 for gRPC (#472)
This commit is contained in:
parent
ec86fc2fa3
commit
c287418b4f
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue