Skip to content
Snippets Groups Projects
Commit e633e474 authored by matt-kwong's avatar matt-kwong Committed by GitHub
Browse files

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

Pin bazel version to 0.4.1 release tag
parents 8442ebee 180ea4bb
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,12 @@ ...@@ -48,9 +48,12 @@
#====================================== #======================================
# More sanity test dependencies (bazel) # More sanity test dependencies (bazel)
RUN apt-get install -y openjdk-8-jdk RUN apt-get install -y openjdk-8-jdk
# TOOD(jtattermusch): pin the bazel version # Check out Bazel version 0.4.1 since this version allows running
RUN git clone https://github.com/bazelbuild/bazel.git /bazel # ./compile.sh without a local protoc dependency
RUN cd /bazel && ./compile.sh # TODO(mattkwong): install dependencies to support latest Bazel version if newer
# version is needed
RUN git clone https://github.com/bazelbuild/bazel.git /bazel && \
cd /bazel && git checkout tags/0.4.1 && ./compile.sh
RUN ln -s /bazel/output/bazel /bin/ RUN ln -s /bazel/output/bazel /bin/
#=================== #===================
......
...@@ -93,9 +93,11 @@ RUN pip install simplejson mako ...@@ -93,9 +93,11 @@ RUN pip install simplejson mako
#====================================== #======================================
# More sanity test dependencies (bazel) # More sanity test dependencies (bazel)
RUN apt-get install -y openjdk-8-jdk RUN apt-get install -y openjdk-8-jdk
# TOOD(jtattermusch): pin the bazel version # Check out Bazel version 0.4.1 since this version allows running
RUN git clone https://github.com/bazelbuild/bazel.git /bazel # ./compile.sh without a local protoc dependency
RUN cd /bazel && ./compile.sh # TODO(mattkwong): install dependencies to support latest Bazel version if newer
# version is needed
RUN git clone https://github.com/bazelbuild/bazel.git /bazel && cd /bazel && git checkout tags/0.4.1 && ./compile.sh
RUN ln -s /bazel/output/bazel /bin/ RUN ln -s /bazel/output/bazel /bin/
#=================== #===================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment