Mihai Maruseac 3e9fccb0cb Bump TF's minimum Bazel version to 3.7.2.
Bug fixed: https://github.com/bazelbuild/bazel/issues/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
2020-12-23 21:33:56 -08:00

33 lines
808 B
Docker

RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
wget \
openjdk-8-jdk \
python3-dev \
virtualenv \
swig
RUN python3 -m pip --no-cache-dir install \
Pillow \
h5py \
keras_preprocessing \
matplotlib \
mock \
'numpy<1.19.0' \
scipy \
sklearn \
pandas \
future \
portpicker \
enum34
# Install bazel
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" && \
chmod +x /bazel/installer.sh && \
/bazel/installer.sh && \
rm -f /bazel/installer.sh