disable bazel wrapper inside docker containers

pull/19249/head
Jan Tattermusch 6 years ago
parent f13727dfd1
commit e66fb82495
  1. 3
      templates/tools/dockerfile/bazel.include
  2. 3
      tools/dockerfile/test/bazel/Dockerfile
  3. 3
      tools/dockerfile/test/sanity/Dockerfile

@ -4,6 +4,9 @@
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 0.24.1
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1
RUN apt-get update && apt-get install -y wget && apt-get clean
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 && ${'\\'}

@ -54,6 +54,9 @@ RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.10.0 t
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 0.24.1
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1
RUN apt-get update && apt-get install -y wget && apt-get clean
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 && \

@ -100,6 +100,9 @@ ENV CLANG_TIDY=clang-tidy
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 0.24.1
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1
RUN apt-get update && apt-get install -y wget && apt-get clean
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 && \

Loading…
Cancel
Save