diff --git a/containers/default/base/Dockerfile b/containers/default/base/Dockerfile index 0eb1ce9..33b2239 100755 --- a/containers/default/base/Dockerfile +++ b/containers/default/base/Dockerfile @@ -42,10 +42,11 @@ USER ${NB_UID} # these need to be installed to the prerequisite versions before we can install the rest of the # packages. Install Python 3 packages -RUN conda install --quiet --yes conda=23.3.1 python=3.9.16 --no-pin --force-reinstall && \ - conda install --quiet --yes ${PYTHON_PREREQ_VERSIONS} && \ - conda install --quiet --yes ${PYTHON_INSTALL_PACKAGES} && \ - pip install jupyterlab_rise==0.2.0 && \ +RUN mamba install --yes python=3.9.13 --no-pin --force-reinstall && \ + mamba install --yes ${PYTHON_PREREQ_VERSIONS} && \ + mamba install --yes ${PYTHON_INSTALL_PACKAGES} && \ + mamba install --yes nbclient && \ + mamba install --yes jupyterlab_rise==0.2.0 && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" && \ mamba clean -afy diff --git a/containers/default/base/base_tag b/containers/default/base/base_tag index 730cb11..231410b 100644 --- a/containers/default/base/base_tag +++ b/containers/default/base/base_tag @@ -1,2 +1 @@ -:latest - +:x86_64-python-3.9.13 \ No newline at end of file diff --git a/containers/default/base/pip_pkgs b/containers/default/base/pip_pkgs index cc7378e..28b1a83 100644 --- a/containers/default/base/pip_pkgs +++ b/containers/default/base/pip_pkgs @@ -1 +1 @@ -jupyterquiz +jupyterquiz \ No newline at end of file diff --git a/containers/default/base/python_pkgs b/containers/default/base/python_pkgs index a928ed4..ef38714 100644 --- a/containers/default/base/python_pkgs +++ b/containers/default/base/python_pkgs @@ -13,4 +13,4 @@ jupyterlab-spellchecker nbconvert pyppeteer gdb -jupyterlab-myst==1.1.3 +jupyterlab-myst==1.1.3 \ No newline at end of file diff --git a/containers/default/base/python_prereqs b/containers/default/base/python_prereqs index c4aa2e6..0d2fd1b 100644 --- a/containers/default/base/python_prereqs +++ b/containers/default/base/python_prereqs @@ -1,2 +1,2 @@ nbclient==0.5.13 -jsonschema +jsonschema \ No newline at end of file diff --git a/containers/testing/base/Dockerfile b/containers/testing/base/Dockerfile index 395be88..83aef98 100755 --- a/containers/testing/base/Dockerfile +++ b/containers/testing/base/Dockerfile @@ -43,10 +43,11 @@ USER ${NB_UID} # packages. Install Python 3 packages #RUN python --version -RUN conda install --quiet --yes conda=23.3.1 python=3.9.16 --no-pin --force-reinstall && \ - conda install --quiet --yes ${PYTHON_PREREQ_VERSIONS} && \ - conda install --quiet --yes ${PYTHON_INSTALL_PACKAGES} && \ - pip install jupyterlab_rise==0.2.0 && \ +RUN mamba install --yes python=3.9.13 --no-pin --force-reinstall && \ + mamba install --yes ${PYTHON_PREREQ_VERSIONS} && \ + mamba install --yes ${PYTHON_INSTALL_PACKAGES} && \ + mamba install --yes nbclient && \ + mamba install --yes jupyterlab_rise==0.2.0 && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" && \ mamba clean -afy diff --git a/containers/testing/base/base_tag b/containers/testing/base/base_tag index 730cb11..231410b 100644 --- a/containers/testing/base/base_tag +++ b/containers/testing/base/base_tag @@ -1,2 +1 @@ -:latest - +:x86_64-python-3.9.13 \ No newline at end of file diff --git a/containers/testing/base/distro_pkgs b/containers/testing/base/distro_pkgs index f10eb5c..4dbaa34 100644 --- a/containers/testing/base/distro_pkgs +++ b/containers/testing/base/distro_pkgs @@ -38,5 +38,4 @@ libnss3 lsb-release xdg-utils wget -dos2unix - +dos2unix \ No newline at end of file diff --git a/containers/testing/base/ope_book b/containers/testing/base/ope_book index f870b9d..f7ebc12 100644 --- a/containers/testing/base/ope_book +++ b/containers/testing/base/ope_book @@ -1 +1 @@ -ope-test +ope-test \ No newline at end of file diff --git a/containers/testing/base/ope_book_registry b/containers/testing/base/ope_book_registry index a485438..3156016 100644 --- a/containers/testing/base/ope_book_registry +++ b/containers/testing/base/ope_book_registry @@ -1 +1 @@ -quay.io +quay.io \ No newline at end of file diff --git a/containers/testing/base/ope_book_user b/containers/testing/base/ope_book_user index ffbc3d2..74f8cb6 100644 --- a/containers/testing/base/ope_book_user +++ b/containers/testing/base/ope_book_user @@ -1 +1 @@ -opeffort +opeffort \ No newline at end of file diff --git a/containers/testing/base/ope_gid b/containers/testing/base/ope_gid index 573541a..c227083 100644 --- a/containers/testing/base/ope_gid +++ b/containers/testing/base/ope_gid @@ -1 +1 @@ -0 +0 \ No newline at end of file diff --git a/containers/testing/base/ope_group b/containers/testing/base/ope_group index d8649da..93ca142 100644 --- a/containers/testing/base/ope_group +++ b/containers/testing/base/ope_group @@ -1 +1 @@ -root +root \ No newline at end of file diff --git a/containers/testing/base/ope_registry_user b/containers/testing/base/ope_registry_user index 25e6718..b0025f7 100644 --- a/containers/testing/base/ope_registry_user +++ b/containers/testing/base/ope_registry_user @@ -1 +1 @@ -sdanni +rh-ee-istaplet \ No newline at end of file diff --git a/containers/testing/base/pip_pkgs b/containers/testing/base/pip_pkgs index cc7378e..28b1a83 100644 --- a/containers/testing/base/pip_pkgs +++ b/containers/testing/base/pip_pkgs @@ -1 +1 @@ -jupyterquiz +jupyterquiz \ No newline at end of file diff --git a/containers/testing/base/python_pkgs b/containers/testing/base/python_pkgs index 2d38264..35c6dc3 100644 --- a/containers/testing/base/python_pkgs +++ b/containers/testing/base/python_pkgs @@ -15,4 +15,4 @@ pyppeteer gdb jupyterlab-myst==1.1.3 jupyterlab==3.6.1 -numpy==1.24.3 +numpy==1.24.3 \ No newline at end of file diff --git a/containers/testing/base/python_prereqs b/containers/testing/base/python_prereqs index c4aa2e6..0d2fd1b 100644 --- a/containers/testing/base/python_prereqs +++ b/containers/testing/base/python_prereqs @@ -1,2 +1,2 @@ nbclient==0.5.13 -jsonschema +jsonschema \ No newline at end of file