• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN apt-get update && apt-get install -y \
2    build-essential \
3    curl \
4    git \
5    wget \
6    openjdk-8-jdk \
7    python3-dev \
8    virtualenv \
9    swig
10
11RUN python3 -m pip --no-cache-dir install \
12    Pillow \
13    h5py \
14    keras_preprocessing \
15    matplotlib \
16    mock \
17    'numpy<1.19.0' \
18    scipy \
19    sklearn \
20    pandas \
21    future \
22    portpicker \
23    enum34
24
25# Install bazel
26ARG BAZEL_VERSION=3.7.2
27RUN mkdir /bazel && \
28    wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
29    wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
30    chmod +x /bazel/installer.sh && \
31    /bazel/installer.sh && \
32    rm -f /bazel/installer.sh
33