Options for installing extra packages at runtime #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Per #25 , a very common desire will be adding extra packages to the Python environment. We can let people do this without having to create their own Docker images (as we tell them to do right now) by adding some hooks to our entrypoint script.
This PR will implement these hooks:
conda_env
, a full conda environment that the worker environment will be updated with.conda_packages
, a plain list of conda packages to install.pip_packages
, a plain list of pip packages to install.We may, in the future, look into a hook for system packages, as mentioned in the discussion in #25.