Merge pull request #40813 from geetachavan1/cherrypicks_6WCZX
[CherryPick:r2.3] Fix docker for numpy
This commit is contained in:
commit
99fea8da0d
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
|
@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
|
@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=3.0.0
|
ARG BAZEL_VERSION=3.1.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
|
||||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=3.0.0
|
ARG BAZEL_VERSION=3.1.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
|
||||||
|
|
|
@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Build and install bazel
|
# Build and install bazel
|
||||||
ENV BAZEL_VERSION 3.0.0
|
ENV BAZEL_VERSION 3.1.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir /bazel && \
|
RUN mkdir /bazel && \
|
||||||
cd /bazel && \
|
cd /bazel && \
|
||||||
|
|
|
@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Build and install bazel
|
# Build and install bazel
|
||||||
ENV BAZEL_VERSION 3.0.0
|
ENV BAZEL_VERSION 3.1.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir /bazel && \
|
RUN mkdir /bazel && \
|
||||||
cd /bazel && \
|
cd /bazel && \
|
||||||
|
|
|
@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Build and install bazel
|
# Build and install bazel
|
||||||
ENV BAZEL_VERSION 3.0.0
|
ENV BAZEL_VERSION 3.1.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir /bazel && \
|
RUN mkdir /bazel && \
|
||||||
cd /bazel && \
|
cd /bazel && \
|
||||||
|
|
|
@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Build and install bazel
|
# Build and install bazel
|
||||||
ENV BAZEL_VERSION 3.0.0
|
ENV BAZEL_VERSION 3.1.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir /bazel && \
|
RUN mkdir /bazel && \
|
||||||
cd /bazel && \
|
cd /bazel && \
|
||||||
|
|
|
@ -14,7 +14,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
|
@ -13,7 +13,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
keras_preprocessing \
|
keras_preprocessing \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
mock \
|
mock \
|
||||||
numpy \
|
'numpy<1.19.0' \
|
||||||
scipy \
|
scipy \
|
||||||
sklearn \
|
sklearn \
|
||||||
pandas \
|
pandas \
|
||||||
|
|
Loading…
Reference in New Issue