kopia lustrzana https://github.com/jupyterhub/repo2docker
e81703aaaf
- Don't do pip install -U pip - this makes the image build more non-deterministic than necessary. 17.04 has the latest version of pip, and we can stick to newest ubuntu quite aggressivley to keep up in the cases it matters. - Set --no-cache-dir in pip install, so we don't actually build wheels - they are useless in our situation. This also lets us not have to install wheels - Make note about |
||
---|---|---|
repo2docker | ||
s2i-builders | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
builder.md | ||
install-s2i.bash | ||
setup.cfg | ||
setup.py |
README.md
jupyter-repo2docker
jupyter-repo2docker, a command line tool, builds a docker image from a git repository and can push the image to a docker registry.
Installation
To install from pypi, the python packaging index:
python3 -m pip install jupyter-repo2docker
To install from source:
git clone https://github.com/jupyterhub/jupyter-repo2docker.git
cd jupyter-repo2docker
python3 -m pip install .
Usage
To access help for the application:
jupyter-repo2docker -h
Technical Overview for Contributors
jupyter-repo2docker uses other tools (Source to Image or just docker) for doing the actual building of the image.
The repo2docker
directory contains the application which detects which build
method to use, and how to invoke that build method.
The s2i-builders
directory contains builder images which can be used to
provide custom conda
and venv
environments suitable for running
JupyterHub.