File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- ARG PYTHON_VERSION=3.8.1 -slim-buster
1
+ ARG PYTHON_VERSION=3.9.0 -slim-buster
2
2
3
3
FROM python:${PYTHON_VERSION} as tensorflow-builder
4
4
@@ -10,7 +10,7 @@ RUN apt-get update && \
10
10
python-dev \
11
11
unzip
12
12
13
- ENV BAZEL_VERSION 0.29.1
13
+ ENV BAZEL_VERSION 3.1.0
14
14
WORKDIR /
15
15
RUN mkdir /bazel && \
16
16
cd /bazel && \
@@ -21,10 +21,11 @@ RUN mkdir /bazel && \
21
21
cd / && \
22
22
rm -f /bazel/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
23
23
24
- RUN pip install -U pip six numpy wheel setuptools mock 'future>=0.17.1' && \
24
+ # Up-to-date pip dependencies to be found at https://www.tensorflow.org/install/source
25
+ RUN pip install -U pip six 'numpy<1.19.0' wheel setuptools mock 'future>=0.17.1' 'gast==0.3.3' typing_extensions && \
25
26
pip install -U keras_applications keras_preprocessing --no-deps
26
27
27
- ENV TENSORFLOW_VERSION 2.1.0
28
+ ENV TENSORFLOW_VERSION 2.3.1
28
29
29
30
RUN curl -fSsL -O https://github.com/tensorflow/tensorflow/archive/v$TENSORFLOW_VERSION.tar.gz && \
30
31
tar xvf v$TENSORFLOW_VERSION.tar.gz
You can’t perform that action at this time.
0 commit comments