未验证 提交 99fea8da 编写于 作者: G Goldie Gadde 提交者: GitHub

Merge pull request #40813 from geetachavan1/cherrypicks_6WCZX

[CherryPick:r2.3] Fix docker for numpy
...@@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册