Open yuvipanda opened 5 years ago
I think this is a side effect of #651
My guess is that something related to how conda handles activation and such is the culprit for this. At least I read that conda got smarter/new handling for PATH related things. Not dug into this yet though. https://www.anaconda.com/conda-4-6-release/
Is this still a problem in the current version of R2D?
Bug description
PATH in a newly build container image is:
/srv/conda/envs/notebook/bin:/srv/conda/condabin:/home/yuvipanda/.local/bin:/home/yuvipanda/.local/bin:/srv/conda/envs/notebook/bin:/srv/conda/bin:/srv/npm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Note that the two conda environments - notebook and condabin - override what ${HOME}/.local/bin or ${REPO_DIR}/.local/bin. IMO this is unintentional - user bin dirs should always be able to override everything.
Expected behaviour
I can put a binary in ${HOME}/.local/bin and that is preferred over a binary in /srv/conda/envs/notebook/bin by default.
Actual behaviour
Binary in /srv/conda/envs/notebook/bin is preferred.
How to reproduce