Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Don't use bioconda environments in docker image #594

Closed
maxulysse opened this issue May 28, 2018 · 0 comments
Closed

Don't use bioconda environments in docker image #594

maxulysse opened this issue May 28, 2018 · 0 comments
Assignees

Comments

@maxulysse
Copy link
Member

maxulysse commented May 28, 2018

cf nf-core/cookiecutter#29

See nf-core/chipseq#10 (comment) by @tiagochst:


  • Changed RUN conda env create -f /environment.yml to RUN conda env update -n root --file environment.yml because of the source below:
    • If you are using the Conda package manager, avoid creating a Conda environment. Instead, update the root environment with whatever dependencies you want to install.

      As an example to the above warning, it would be best practice to run this: RUN conda env update -n root --file environment.yml and avoid this: RUN conda env create -f environment.yml

https://docs.datascience.com/en/master/appendix-1/dockerfile-basics-and-best-practices-1.html

@maxulysse maxulysse self-assigned this May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant