This repository builds a JupyterHub environment with Repo2Docker GitHub Actions CI
- Click 'Use this Template' to create a copy of the configuration under your organization
- Edit README.md to replace all occurances of
uwhackweek/docker-template
to your repo name (for exampleuwescience/snowexhack2021
) - Ensure you have GitHub Secrets for DOCKER_USERNAME and DOCKER_PASSWORD
- Build with GitHub Actions simply by pushing to GitHub:
- Commits to 'main' branch build image, by git commit sha and 'latest', and push to DockerHub and Quay.io
- Pull Requests trigger image building without pushing to DockerHub
git clone https://github.com/UW-geophysics-edu/ess314-2021-image
cd docker-template
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
docker compose up
# Do things in JupyterLab w/ files in local directory
docker compose down
- From DockerHub:
docker pull uwessds/ess314-2021-image:latest