Skip to content

UW-MLGEO/590-Spr21-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UW-ESS-DS 590-Spr21-image JupyterHub Image Builder

This repository builds a JupyterHub environment with JupyterHub GitHub Actions CI

Action Status Docker Pulls BinderHub

https://hub.docker.com/r/uwessds/590-spr21-image/tags

How to use:

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'

Pull your image to run a local JupyterLab session

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

Point to a specific tagged image in JupyterHub config

(image: uwessds/590-spr21-image:8192752e54fa) https://zero-to-jupyterhub.readthedocs.io/en/latest/reference/reference.html?highlight=profile_list#singleuser-profilelist

About

Docker image for ESS 590 Spring 2021 JupyterHub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •