From 825ea4d6a822b2265874d8e1a36a580fd794b4d8 Mon Sep 17 00:00:00 2001 From: Alasdair Tran Date: Sat, 22 Dec 2018 16:37:48 +1100 Subject: [PATCH 1/3] Pin Python version --- base-notebook/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index a1449acd..c857f37e 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -79,6 +79,7 @@ RUN cd /tmp && \ $CONDA_DIR/bin/conda config --system --set show_channel_urls true && \ $CONDA_DIR/bin/conda install --quiet --yes conda="${CONDA_VERSION%.*}.*" && \ $CONDA_DIR/bin/conda update --all --quiet --yes && \ + conda list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \ conda clean -tipsy && \ rm -rf /home/$NB_USER/.cache/yarn && \ fix-permissions $CONDA_DIR && \ From 74da0d544fe4a2903e57c38a1fc45ee38eefbf5c Mon Sep 17 00:00:00 2001 From: Alasdair Tran Date: Tue, 25 Dec 2018 11:41:44 +1100 Subject: [PATCH 2/3] Let the Python patch version float --- base-notebook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index c857f37e..04b0bd08 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -79,7 +79,7 @@ RUN cd /tmp && \ $CONDA_DIR/bin/conda config --system --set show_channel_urls true && \ $CONDA_DIR/bin/conda install --quiet --yes conda="${CONDA_VERSION%.*}.*" && \ $CONDA_DIR/bin/conda update --all --quiet --yes && \ - conda list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \ + conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> $CONDA_DIR/conda-meta/pinned && \ conda clean -tipsy && \ rm -rf /home/$NB_USER/.cache/yarn && \ fix-permissions $CONDA_DIR && \ From f067ea15eec2676317cb2c70c534a024e40a14f9 Mon Sep 17 00:00:00 2001 From: Peter Parente Date: Sun, 21 Apr 2019 16:48:41 -0400 Subject: [PATCH 3/3] Upgrade to tf 1.13 --- tensorflow-notebook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow-notebook/Dockerfile b/tensorflow-notebook/Dockerfile index ef22af06..bca138b8 100644 --- a/tensorflow-notebook/Dockerfile +++ b/tensorflow-notebook/Dockerfile @@ -7,7 +7,7 @@ LABEL maintainer="Jupyter Project " # Install Tensorflow RUN conda install --quiet --yes \ - 'tensorflow=1.12*' \ + 'tensorflow=1.13*' \ 'keras=2.2*' && \ conda clean -tipsy && \ fix-permissions $CONDA_DIR && \