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

Customized bootstrapping #1

Open
5 tasks
achimnol opened this issue Oct 17, 2017 · 0 comments
Open
5 tasks

Customized bootstrapping #1

achimnol opened this issue Oct 17, 2017 · 0 comments

Comments

@achimnol
Copy link
Member

achimnol commented Oct 17, 2017

Users would want to install their own packages via pip.
We could use a simple config file which describes the package list to install on startup of kernel session.

  • Define a simple format to list up dependencies, maybe as YAML
    • requirements.txt format is perfect for Python, including custom index support. We could allow users to specify it as a whole using YAML content block.
    • System packages (apt-get) or their whilte-listed aliases (e.g., "build-tools" installs "build-essential" and "python-dev" in Python containers while "build-essential" and "php7-dev" in PHP containers)
    • Backend.AI-specific options such as various CUDA versions
  • Implement the installation process on startup
  • Provide a local .pip cache for commonly used packages (e.g., numpy) as Docker volumes like Travis CI
  • Storage information to store the generated artifacts (e.g., virtual folder ID, external S3 bucket with credentials) — idea by @serialx
  • Provide a way to show the config applied to the kernel session (API New/Update: Per-session configuration APIs backend.ai-manager#50)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant