Skip to content

Commit 558bbaf

Browse files
committed
Upgrade DLVM base-cpu image.
http://b/167268016
1 parent 215becf commit 558bbaf

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Dockerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# b/157908450 set to latest once numba 0.49.x fixes performance regression for datashader.
2-
ARG BASE_TAG=m46
1+
ARG BASE_TAG=m61
32
ARG TENSORFLOW_VERSION=2.4.0
43

54
FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37 as tensorflow_whl
@@ -320,8 +319,7 @@ RUN pip install bleach && \
320319
pip install pandocfilters && \
321320
pip install pexpect && \
322321
pip install pickleshare && \
323-
# b/160263325: the version included in the m46 base image has a known issue.
324-
pip install --upgrade Pillow && \
322+
pip install Pillow && \
325323
# Install openslide and its python binding
326324
apt-get install -y openslide-tools && \
327325
pip install openslide-python && \
@@ -373,8 +371,7 @@ RUN pip install flashtext && \
373371
pip install shap && \
374372
pip install ray && \
375373
pip install gym && \
376-
# b/167220714 unpin once matplotlib >= 3.3 is installed in the base image.
377-
pip install tensorforce==0.5.5 && \
374+
pip install tensorforce && \
378375
pip install pyarabic && \
379376
pip install pandasql && \
380377
pip install tensorflow_hub && \
@@ -392,8 +389,7 @@ RUN pip install flashtext && \
392389
pip install plotly_express && \
393390
pip install albumentations && \
394391
pip install catalyst && \
395-
# b/162850432 prevent matplotlib upgrade.
396-
pip install osmnx==0.15.1 && \
392+
pip install osmnx && \
397393
apt-get -y install libspatialindex-dev && \
398394
pip install pytorch-ignite && \
399395
pip install qgrid && \
@@ -478,9 +474,7 @@ ADD patches/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
478474
# Disable unnecessary jupyter extensions
479475
RUN jupyter-nbextension disable nb_conda --py --sys-prefix && \
480476
jupyter-serverextension disable nb_conda --py --sys-prefix && \
481-
python -m nb_conda_kernels.install --disable && \
482-
jupyter-nbextension disable nbpresent --py --sys-prefix && \
483-
jupyter-serverextension disable nbpresent --py --sys-prefix
477+
python -m nb_conda_kernels.install --disable
484478

485479
# Set backend for matplotlib
486480
ENV MPLBACKEND "agg"

0 commit comments

Comments
 (0)