Giter VIP home page Giter VIP logo

uwgda-image's Introduction

UWGDA2020 JupyterHub Image Builder

This repository builds a JupyterHub environment with Repo2Docker and GitHub Actions CI

Action Status Docker Pulls

https://hub.docker.com/r/uwgda/uwgda-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-GDA/uwgda-image
cd uwgda-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
  • merged PRs or direct commits to master branch (changes to binder/* or requirements.txt) trigger re-building image
  • successfully built image is tagged by github commit short sha and 'latest'
  • pushing a tag to github results in a docker image with the same tag:
git tag -am "tag version 2020.1" 2020.1
git push --tags

Pull your image to run a local JupyterLab session

export IMAGE=uwgda/uwgda-image
export TAG=2020.1
docker pull $IMAGE:$TAG
docker run -it --name UWGDA -p 8888:8888 $IMAGE:$TAG jupyter lab --ip 0.0.0.0
docker stop UWGDA
docker rm UWGDA

Point to a specific tagged image in JupyterHub config

(image: uwgda/uwgda-image:2020.1) https://zero-to-jupyterhub.readthedocs.io/en/latest/reference/reference.html?highlight=profile_list#singleuser-profilelist

uwgda-image's People

Contributors

dshean avatar scottyhq avatar axdd-jupyter-service avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.