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
33 lines
808 B
Docker
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
|