Skip to content

Commit

Permalink
Updating TensorFlow's bazel version 4.0.0 (the first LTS release).
Browse files Browse the repository at this point in the history
https://blog.bazel.build/2021/01/19/bazel-4-0.html

PiperOrigin-RevId: 353139694
Change-Id: If2c4516b5d7fa59d032e9c74fb2a0716b2a4f618
  • Loading branch information
mihaimaruseac authored and tensorflower-gardener committed Jan 22, 2021
1 parent 3ea52d3 commit 83ba6a3
Show file tree
Hide file tree
Showing 45 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0
3.7.2
4 changes: 2 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
_TF_WORKSPACE_ROOT = ''
_TF_BAZELRC = ''
_TF_CURRENT_BAZEL_VERSION = None
_TF_MIN_BAZEL_VERSION = '4.0.0'
_TF_MAX_BAZEL_VERSION = '4.99.0'
_TF_MIN_BAZEL_VERSION = '3.7.2'
_TF_MAX_BAZEL_VERSION = '3.99.0'

NCCL_LIB_PATHS = [
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
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="4.0.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="4.0.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=4.0.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=4.0.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 4.0.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 4.0.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=4.0.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=4.0.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=4.0.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=4.0.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 @@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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 ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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 ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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 ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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 ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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 ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
ln -sf $(which ${PYTHON}) /usr/bin/python

# Install bazel
ARG BAZEL_VERSION=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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=4.0.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 4.0.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 4.0.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 4.0.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 4.0.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=4.0.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=4.0.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=4.0.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 @@ -26,7 +26,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 4.0.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 @@ -21,7 +21,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 4.0.0
ENV BAZEL_VERSION 3.7.2
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down

0 comments on commit 83ba6a3

Please sign in to comment.