mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Use mamba instead of conda where possible
This commit is contained in:
@@ -99,8 +99,8 @@ The next steps are:
|
||||
|
||||
```bash
|
||||
if [ -f "/home/${NB_USER}/environment.yml" ]; then
|
||||
conda env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
conda clean --all -f -y
|
||||
mamba env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
mamba clean --all -f -y
|
||||
else
|
||||
if [ -f "/home/${NB_USER}/requirements.txt" ]; then
|
||||
pip --no-cache-dir install -r "/home/${NB_USER}/requirements.txt"
|
||||
|
@@ -25,8 +25,8 @@ rm -rf /tmp/src
|
||||
# use 'pip' instead.
|
||||
|
||||
if [ -f "/home/${NB_USER}/environment.yml" ]; then
|
||||
conda env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
conda clean --all -f -y
|
||||
mamba env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
mamba clean --all -f -y
|
||||
else
|
||||
if [ -f "/home/${NB_USER}/requirements.txt" ]; then
|
||||
pip --no-cache-dir install -r "/home/${NB_USER}/requirements.txt"
|
||||
|
Reference in New Issue
Block a user