This repository builds a JupyterHub environment with JupyterHub GitHub Actions CI
https://hub.docker.com/r/uwessds/590-spr21-image/tags
build with GitHub Actions simply by pushing to GitHub
- pull requests trigger image building without pushing to DockerHub
git clone https://github.com/UW-ESS-DS/590-Spr21-image
cd 590-Spr21-image
#git checkout dev
# make sure dev branch is up-to-date with master
git merge master
# modify environment.yml or other files in binder/
git commit -a -m "modified binder/environment to my liking"
git push
# go to github.com and create a pull request to merge dev changes into master
- PRs trigger re-building image
- Commits to master build image and push to DockerHub tagged by github commit sha and 'latest'
export IMAGE=uwessds/590-spr21-image:latest
export NAME=ESS590
docker run -it --name $NAME -p 8888:8888 $IMAGE jupyter lab --ip 0.0.0.0
docker stop $NAME
docker rm $NAME
(image: uwessds/590-spr21-image:8192752e54fa) https://zero-to-jupyterhub.readthedocs.io/en/latest/reference/reference.html?highlight=profile_list#singleuser-profilelist