bazel.include 548 B

12345678910111213
  1. #========================
  2. # Bazel installation
  3. # Must be in sync with tools/bazel
  4. ENV BAZEL_VERSION 4.2.1
  5. # The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
  6. ENV DISABLE_BAZEL_WRAPPER 1
  7. RUN apt-get update && apt-get install -y wget && apt-get clean
  8. RUN wget "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh" && ${'\\'}
  9. bash ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && ${'\\'}
  10. rm bazel-$BAZEL_VERSION-installer-linux-x86_64.sh