|
|
|
|
|
by westurner
1421 days ago
|
|
FWIW repo2docker installs everything listed in /install.R or /.binder/install.R. I'll just cc this here because of the integration potential: > repo2docker fetches a repository (from GitHub, GitLab, Zenodo, Figshare, Dataverse installations, a Git repository or a local directory) and builds a container image in which the code can be executed. The image build process is based on the [#REES] configuration files found in the repository. Docs: https://repo2docker.readthedocs.io/en/latest/ python3 -m pip freeze | tee requirements.txt
conda env export -f environment.yml
conda env export --from-history -f environment.yml
python3 -m pip install jupyter-repo2docker
repo2docker .
# git branch -b mynewbranch; git commit; git push
repo2docker https://github.com/binder-examples/conda
repo2docker https://github.com/binder-examples/requirements
repo2docker https://github.com/binder-examples/voila #dashboards #ContainDS
jupyter-book/.binder/requirements.txt:
https://github.com/executablebooks/jupyter-book/blob/master/... python -m webbrowser https://mybinder.org/
"#REES #ReproducibleExecutionEnvironmentSpecification" config files that repo2docker will build a container from at least one of:
requirements.txt # Pip
environment.yml # Conda (mamba)
Pipfile
install.R
postBuild # run during build
start # run in ENTRYPOINT
runtime.txt
Dockerfilehttps://repo2docker.readthedocs.io/en/latest/config_files.ht... repo2jupyterlite (WASM) sure would be useful for presentations, too. |
|