Skip to content

Commit

Permalink
Bump TF's minimum Bazel version to 3.7.2.
Browse files Browse the repository at this point in the history
Bug fixed: bazelbuild/bazel#3828

We need this because we are working on integrating TF with a different project that should remove the breakages caused by LLVM integration

PiperOrigin-RevId: 348886284
Change-Id: Iad539321f1ba7590e4ee77b93d67eb5401d9fec8
  • Loading branch information
mihaimaruseac authored and tensorflower-gardener committed Dec 24, 2020
1 parent 05303d0 commit 3e9fccb
Show file tree
Hide file tree
Showing 47 changed files with 49 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.7.2
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
_TF_WORKSPACE_ROOT = ''
_TF_BAZELRC = ''
_TF_CURRENT_BAZEL_VERSION = None
_TF_MIN_BAZEL_VERSION = '3.1.0'
_TF_MIN_BAZEL_VERSION = '3.7.2'
_TF_MAX_BAZEL_VERSION = '3.99.0'

NCCL_LIB_PATHS = [
Expand Down
1 change: 1 addition & 0 deletions tensorflow/compiler/aot/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ test_suite(
":test_graph_tfvariable_test",
":tfcompile_test",
],
visibility = ["//visibility:public"],
)

py_binary(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow/tools/ci_build/ci_sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ do_external_licenses_check(){
# Denylist
echo ${MISSING_LICENSES_FILE}
grep \
-e "@bazel_tools//platforms" \
-e "@bazel_tools//third_party/" \
-e "@bazel_tools//tools" \
-e "@local" \
Expand All @@ -395,6 +396,7 @@ do_external_licenses_check(){
-e "//third_party/mkl" \
-e "//third_party/mkl_dnn" \
-e "@bazel_tools//src" \
-e "@bazel_tools//platforms" \
-e "@bazel_tools//tools/" \
-e "@org_tensorflow//tensorflow" \
-e "@com_google_absl//" \
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/install/install_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# ==============================================================================

# Select bazel version.
BAZEL_VERSION="3.1.0"
BAZEL_VERSION="3.7.2"

set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# It will compile bazel from source and install it in /usr/local/bin

# Select bazel version.
BAZEL_VERSION="3.1.0"
BAZEL_VERSION="3.7.2"

set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/release/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Keep in sync with tensorflow_estimator and configure.py.
# LINT.IfChange
LATEST_BAZEL_VERSION=3.1.0
LATEST_BAZEL_VERSION=3.7.2
# LINT.ThenChange(
# //tensorflow/opensource_only/configure.py,
# //tensorflow_estimator/google/kokoro/common.sh,
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/release/common_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
@REM Setup Bazel
@REM
:: Download Bazel from github and make sure its found in PATH.
SET BAZEL_VERSION=3.1.0
SET BAZEL_VERSION=3.7.2
md C:\tools\bazel\
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
SET PATH=C:\tools\bazel;%PATH%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 3.1.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
curl

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=3.1.0
ARG BAZEL_VERSION=3.7.2
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
Expand Down
Loading

0 comments on commit 3e9fccb

Please sign in to comment.