Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 1.36 KB

README.md

File metadata and controls

34 lines (17 loc) · 1.36 KB

Template materials in Bash

Example repository to create an environment with course materials in Bash.

Try it on Binder

Binder

Structure of the repo

This repository is based on the binder-examples/conda example.

repo2docker is the underlying tool that is used to build an environment from a repository.

repo2docker can be configured with several types of files. In the case of this repo:

  • binder/environment.yml: specify dependencies that will be installed using conda
  • binder/apt.txt: specify dependencies that will be installed using apt
  • binder/postBuild: specify extra dependencies such as JupyterLab extensions and activate the Bash kernel

Once created, the environment can be reused without building it again.

For more information, see the extensive rep2docker documentation.

Materials

Materials can be added anywhere to this repository, either at the top level or in subdirectory.

When building the environment, the materials (and any other file) will be copied to the Docker image.

In this example, there is a test notebook available: example-notebook.ipynb.