update bazel version in dockerfile

pull/19127/head
Jan Tattermusch 6 years ago
parent 8f5c7eec65
commit b53e707c3c
  1. 9
      templates/tools/dockerfile/bazel.include
  2. 9
      tools/dockerfile/test/bazel/Dockerfile
  3. 9
      tools/dockerfile/test/sanity/Dockerfile

@ -1,7 +1,10 @@
#========================
# Bazel installation
# Must be in sync with tools/bazel.sh
ENV BAZEL_VERSION 0.24.1
RUN apt-get update && apt-get install -y wget && apt-get clean
RUN wget https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-installer-linux-x86_64.sh && ${'\\'}
bash ./bazel-0.23.2-installer-linux-x86_64.sh && ${'\\'}
rm bazel-0.23.2-installer-linux-x86_64.sh
RUN wget "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh" && ${'\\'}
bash ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && ${'\\'}
rm bazel-$BAZEL_VERSION-installer-linux-x86_64.sh

@ -51,10 +51,13 @@ RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.10.0 t
#========================
# Bazel installation
# Must be in sync with tools/bazel.sh
ENV BAZEL_VERSION 0.24.1
RUN apt-get update && apt-get install -y wget && apt-get clean
RUN wget https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-installer-linux-x86_64.sh && \
bash ./bazel-0.23.2-installer-linux-x86_64.sh && \
rm bazel-0.23.2-installer-linux-x86_64.sh
RUN wget "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh" && \
bash ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
rm bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
RUN mkdir -p /var/local/jenkins

@ -97,10 +97,13 @@ ENV CLANG_TIDY=clang-tidy
#========================
# Bazel installation
# Must be in sync with tools/bazel.sh
ENV BAZEL_VERSION 0.24.1
RUN apt-get update && apt-get install -y wget && apt-get clean
RUN wget https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-installer-linux-x86_64.sh && \
bash ./bazel-0.23.2-installer-linux-x86_64.sh && \
rm bazel-0.23.2-installer-linux-x86_64.sh
RUN wget "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh" && \
bash ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
rm bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
# Define the default command.

Loading…
Cancel
Save