Open vjcitn opened 3 years ago
The best bet is to set the BASILISK_USE_SYSTEM_DIR
environment variable to build conda and its environments at package install time. This is typically used for including the conda stuff inside the container.
Not sure what happens it you want to mount it, though. The second-best bet is to set BASILISK_EXTERNAL_DIR
to the mount directory so it looks there instead.
The docker-compose item in README tells how to map a local folder to a volume for storing installed packages. As we expand the scope of Bioc-python interactions, it may be of interest to store, locally, the conda resources managed by basilisk. I have tried this out with
-v $HOME/dockrcache_314:/root/.cache
but ran into:If I remove that
-v
setting, the example runs fine, but the conda environment is built from scratch. That's what I am hoping to avoid. @LTLA might have a comment?