Skip to content

Commit a9223c7

Browse files
authored
Upgrade base image to m75 (#1048)
* Upgrade base image to m75 * Loosen version restrictions - Remove version pin for pyproj - Use matplotlib version from base image - Install python-igraph from pip instead of conda
1 parent 5246382 commit a9223c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_TAG=m73
1+
ARG BASE_TAG=m75
22
ARG TENSORFLOW_VERSION=2.4.1
33

44
FROM gcr.io/deeplearning-platform-release/base-cpu:${BASE_TAG}
@@ -45,12 +45,12 @@ RUN conda config --add channels conda-forge && \
4545
# ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest.
4646
# b/182405233 pyproj 3.x is not compatible with basemap 1.2.1
4747
# b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
48-
conda install matplotlib basemap cartopy python-igraph imagemagick "pyproj=2.6" "pysal==2.1.0" && \
48+
conda install basemap cartopy imagemagick pyproj "pysal==2.1.0" && \
4949
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \
5050
/tmp/clean-layer.sh
5151

5252
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
53-
RUN pip install seaborn python-dateutil dask && \
53+
RUN pip install seaborn python-dateutil dask python-igraph && \
5454
pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \
5555
pip install pandas && \
5656
# Install h2o from source.

0 commit comments

Comments
 (0)