Skip to content

Commit

Permalink
Merge pull request StatCan#126 from StatCan/pin-all-versions
Browse files Browse the repository at this point in the history
fix: pin versions for cpu and gpu packages
  • Loading branch information
saffaalvi authored Sep 22, 2020
2 parents 841902c + b6b84ad commit 6ad47a4
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 177 deletions.
88 changes: 44 additions & 44 deletions base-notebook/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -205,33 +205,33 @@ USER $NB_UID

# Install Python 3 packages
RUN conda install --quiet --yes \
'beautifulsoup4=4.8.*' \
'beautifulsoup4=4.8.2' \
'conda-forge::blas=*=openblas' \
'bokeh=1.4.*' \
'cloudpickle=1.3.*' \
'cython=0.29.*' \
'dask=2.11.*' \
'dill=0.3.*' \
'h5py=2.10.*' \
'hdf5=1.10.*' \
'ipywidgets=7.5.*' \
'ipympl=0.5.*'\
'matplotlib-base=3.1.*' \
'numba=0.48.*' \
'numexpr=2.7.*' \
'pandas=1.0.*' \
'patsy=0.5.*' \
'protobuf=3.11.*' \
'scikit-image=0.16.*' \
'scikit-learn=0.22.*' \
'scipy=1.4.*' \
'seaborn=0.10.*' \
'sqlalchemy=1.3.*' \
'statsmodels=0.11.*' \
'sympy=1.5.*' \
'vincent=0.4.*' \
'widgetsnbextension=3.5.*'\
'xlrd' \
'bokeh=1.4.0' \
'cloudpickle=1.3.0' \
'cython=0.29.21' \
'dask=2.11.0' \
'dill=0.3.2' \
'h5py=2.10.0' \
'hdf5=1.10.6' \
'ipywidgets=7.5.1' \
'ipympl=0.5.8'\
'matplotlib-base=3.1.3' \
'numba=0.48.0' \
'numexpr=2.7.1' \
'pandas=1.0.5' \
'patsy=0.5.1' \
'protobuf=3.11.4' \
'scikit-image=0.16.2' \
'scikit-learn=0.22.2.post1' \
'scipy=1.4.1' \
'seaborn=0.10.1' \
'sqlalchemy=1.3.19' \
'statsmodels=0.11.1' \
'sympy=1.5.1' \
'vincent=0.4.4' \
'widgetsnbextension=3.5.1'\
'xlrd=1.2.0' \
&& \
conda clean --all -f -y && \
# Activate ipywidgets extension in the environment that runs the notebook server
Expand Down Expand Up @@ -317,24 +317,24 @@ USER $NB_UID
# R packages including IRKernel which gets installed globally.
RUN conda install --quiet --yes \
'r-base=3.6.2' \
'r-caret=6.0*' \
'r-crayon=1.3*' \
'r-devtools=2.2*' \
'r-forecast=8.10*' \
'r-hexbin=1.28*' \
'r-htmltools=0.4*' \
'r-htmlwidgets=1.5*' \
'r-irkernel=1.1*' \
'r-nycflights13=1.0*' \
'r-plyr=1.8*' \
'r-randomforest=4.6*' \
'r-rcurl=1.98*' \
'r-reshape2=1.4*' \
'r-rmarkdown=2.1*' \
'r-rsqlite=2.1*' \
'r-shiny=1.3*' \
'r-tidyverse=1.3*' \
'rpy2=3.1*' \
'r-caret=6.0_86' \
'r-crayon=1.3.4' \
'r-devtools=2.2.2' \
'r-forecast=8.10' \
'r-hexbin=1.28.1' \
'r-htmltools=0.4.0' \
'r-htmlwidgets=1.5.1' \
'r-irkernel=1.1.1' \
'r-nycflights13=1.0.1' \
'r-plyr=1.8.6' \
'r-randomforest=4.6_14' \
'r-rcurl=1.98_1.2' \
'r-reshape2=1.4.4' \
'r-rmarkdown=2.1' \
'r-rsqlite=2.1.5' \
'r-shiny=1.3.2' \
'r-tidyverse=1.3.0' \
'rpy2=3.1.0' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand Down
56 changes: 28 additions & 28 deletions geomatics-notebook/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ FROM k8scc01covidacr.azurecr.io/minimal-notebook-cpu:master
USER root

RUN conda install --quiet --yes \
'fiona' \
'gdal' \
'geopandas' \
'rasterio' \
'r-classInt' \
'r-deldir' \
'r-geoR' \
'r-geosphere' \
'r-gstat' \
'r-hdf5r' \
'r-lidR' \
'r-mapdata' \
'r-maptools' \
'r-mapview' \
'r-ncdf4' \
'r-proj4' \
'r-RandomFields' \
'r-raster' \
'r-RColorBrewer' \
'r-rgdal' \
'r-rgeos' \
'r-rlas' \
'r-RNetCDF' \
'r-sf' \
'r-sp' \
'r-spacetime' \
'r-spatstat' \
'r-spdep' \
'fiona==1.8.9.post2' \
'gdal==2.4.2' \
'geopandas==0.8.1' \
'rasterio==1.0.28' \
'r-classInt==0.4_3' \
'r-deldir==0.1_29' \
'r-geoR==1.8_1' \
'r-geosphere==1.5_10' \
'r-gstat==2.0_6' \
'r-hdf5r==1.3.2' \
'r-lidR==3.0.3' \
'r-mapdata==2.3.0' \
'r-maptools==1.0_2' \
'r-mapview==2.9.0' \
'r-ncdf4==1.16.1' \
'r-proj4==1.0_8' \
'r-RandomFields==3.3.8' \
'r-raster==3.3_13' \
'r-RColorBrewer==1.1_2' \
'r-rgdal==1.4_4' \
'r-rgeos==0.5_2' \
'r-rlas==1.3.6' \
'r-RNetCDF==2.0_3' \
'r-sf==0.7_6' \
'r-sp==1.4_2' \
'r-spacetime==1.2_3' \
'r-spatstat==1.64_1' \
'r-spdep==1.1_5' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand Down
22 changes: 11 additions & 11 deletions machine-learning-notebook/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USER root
RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'tensorflow=2.1*' \
'keras' \
'keras==2.3.1' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand All @@ -14,26 +14,26 @@ RUN conda config --set channel_priority false && \
# Install PyTorch
RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'cmake' \
'cffi' \
'mkl' \
'mkl-include' \
'pyyaml' \
'setuptools' \
'typing' \
'cmake==3.14.0' \
'cffi==1.14.1' \
'mkl==2020.2' \
'mkl-include==2020.2' \
'pyyaml==5.3.1' \
'setuptools==49.6.0' \
'typing==3.7.4.3' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'pytorch' \
'torchvision' \
'pytorch==1.3.1' \
'torchvision==0.4.2' \
&& \
conda install --quiet --yes \
-c pytorch \
'torchtext' \
'torchtext==0.6.0' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand Down
22 changes: 11 additions & 11 deletions machine-learning-notebook/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USER root
RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'tensorflow=2.1*' \
'keras' \
'keras=2.3.1' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand All @@ -14,22 +14,22 @@ RUN conda config --set channel_priority false && \
# Install PyTorch
RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'cmake' \
'cffi' \
'mkl' \
'mkl-include' \
'pyyaml' \
'setuptools' \
'typing' \
'cmake==3.17.0' \
'cffi==1.14.3' \
'mkl==2020.2' \
'mkl-include==2020.2' \
'pyyaml==5.3.1' \
'setuptools==49.6.0' \
'typing==3.7.4.3' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'pytorch' \
'torchvision' \
'pytorch==1.3.1' \
'torchvision==0.4.2' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand All @@ -38,7 +38,7 @@ RUN conda config --set channel_priority false && \
# Install XGBoost
RUN conda config --set channel_priority false && \
conda install --quiet --yes \
'xgboost' \
'xgboost==1.2.0' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR && \
Expand Down
54 changes: 27 additions & 27 deletions minimal-notebook/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,41 +51,41 @@ RUN pip install --quiet \
&& \
conda install --quiet --yes \
-c conda-forge \
'ipywidgets' \
'ipympl' \
'jupyter_contrib_nbextensions' \
'jupyterlab-dash' \
'ipywidgets==7.5.1' \
'ipympl==0.5.8' \
'jupyter_contrib_nbextensions==0.5.1' \
'jupyterlab-dash==0.1.0a3' \
'jupyterlab-git==0.20.0' \
'xeus-python' \
'nodejs' \
'python-language-server' \
'xeus-python==0.8.4' \
'nodejs==13.13.0' \
'python-language-server==0.31.10' \
&& \
conda install --quiet --yes \
'pyarrow' \
'r-dplyr' \
'r-tidyr' \
'r-jsonlite' \
'r-ggplot2' \
'r-rstan' \
'pyarrow==0.17.1' \
'r-dplyr==1.0.0' \
'r-tidyr==1.1.2' \
'r-jsonlite==1.7.1' \
'r-ggplot2==3.3.2' \
'r-rstan==2.21.2' \
&& \
conda clean --all -f -y && \
jupyter nbextension enable codefolding/main --sys-prefix && \
jupyter labextension install --no-build \
'@ijmbarr/jupyterlab_spellchecker' \
'@jupyter-widgets/jupyterlab-manager' \
'@hadim/jupyter-archive' \
'@krassowski/jupyterlab-lsp' \
'@lckr/jupyterlab_variableinspector' \
'@jupyterlab/debugger' \
'@jupyterlab/github' \
'@ijmbarr/jupyterlab_spellchecker@0.1.6' \
'@jupyter-widgets/jupyterlab-manager@2.0.0' \
'@hadim/jupyter-archive@0.7.0' \
'@krassowski/jupyterlab-lsp@2.0.6' \
'@lckr/jupyterlab_variableinspector@0.5.1' \
'@jupyterlab/debugger@0.3.2' \
'@jupyterlab/github@2.0.0' \
'@jupyterlab/[email protected]' \
'@jupyterlab/toc' \
'jupyter-matplotlib' \
'jupyterlab-execute-time' \
'jupyterlab-plotly' \
'jupyterlab-theme-solarized-dark' \
'jupyterlab-spreadsheet' \
'nbdime-jupyterlab' \
'@jupyterlab/toc@4.0.0' \
'jupyter-matplotlib@0.7.4' \
'jupyterlab-execute-time@1.0.0' \
'jupyterlab-plotly@4.10.0' \
'jupyterlab-theme-solarized-dark@1.0.2' \
'jupyterlab-spreadsheet@0.3.2' \
'nbdime-jupyterlab@2.0.0' \
&& \
jupyter lab build && \
jupyter lab clean && \
Expand Down
Loading

0 comments on commit 6ad47a4

Please sign in to comment.