mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 21:12:57 +00:00
added -f
flag to all conda clean
commands
This commit adds the additional `-f` force command to all uses of `conda clean --all` through the repo. Size should be smaller, but still testing if anything breaks. See issue #861.
This commit is contained in:
@@ -87,7 +87,7 @@ The next steps are:
|
||||
```
|
||||
if [ -f /home/$NB_USER/environment.yml ]; then
|
||||
conda env update --name root --file /home/$NB_USER/environment.yml
|
||||
conda clean --all -y
|
||||
conda clean --all -f -y
|
||||
else
|
||||
if [ -f /home/$NB_USER/requirements.txt ]; then
|
||||
pip --no-cache-dir install -r /home/$NB_USER/requirements.txt
|
||||
|
@@ -26,7 +26,7 @@ rm -rf /tmp/src
|
||||
|
||||
if [ -f /home/$NB_USER/environment.yml ]; then
|
||||
conda env update --name root --file /home/$NB_USER/environment.yml
|
||||
conda clean --all -y
|
||||
conda 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